Blame SOURCES/apache-commons-daemon-ppc64.patch

eb8f0f
diff -up commons-daemon-1.0.10-src/src/native/unix/configure.ppc64 commons-daemon-1.0.10-src/src/native/unix/configure
14600e
--- commons-daemon-1.0.10-src/src/native/unix/configure.ppc64  2012-08-17 15:50:17.060069518 +0200
14600e
+++ commons-daemon-1.0.10-src/src/native/unix/configure        2012-08-17 15:51:23.540069517 +0200
14600e
@@ -2566,8 +2566,14 @@ echo "$as_me: error: Unsupported operati
eb8f0f
   esac
eb8f0f
   case $host_cpu in
14600e
   powerpc)
14600e
-    CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
14600e
-    HOST_CPU=$host_cpu;;
14600e
+    CFLAGS="$CFLAGS -DCPU=\\\"ppc\\\""
14600e
+    HOST_CPU=ppc;;
14600e
+  powerpc64)
14600e
+    CFLAGS="$CFLAGS -DCPU=\\\"ppc64\\\""
14600e
+    HOST_CPU=ppc64;;
14600e
+  powerpc64le)
14600e
+    CFLAGS="$CFLAGS -DCPU=\\\"ppc64le\\\""
14600e
+    HOST_CPU=ppc64le;;
14600e
   sparc*)
eb8f0f
     CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
eb8f0f
     HOST_CPU=$host_cpu;;
eb8f0f
diff -up commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4.ppc64 commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4
14600e
--- commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4.ppc64       2012-08-17 15:50:30.330069517 +0200
14600e
+++ commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4     2012-08-17 15:51:33.280069517 +0200
14600e
@@ -77,8 +77,14 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
eb8f0f
   esac
eb8f0f
   case $host_cpu in
14600e
   powerpc)
14600e
-    CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
14600e
-    HOST_CPU=$host_cpu;;
14600e
+    CFLAGS="$CFLAGS -DCPU=\\\"ppc\\\""
14600e
+    HOST_CPU=ppc;;
14600e
+  powerpc64)
14600e
+    CFLAGS="$CFLAGS -DCPU=\\\"ppc64\\\""
14600e
+    HOST_CPU=ppc64;;
14600e
+  powerpc64le)
14600e
+    CFLAGS="$CFLAGS -DCPU=\\\"ppc64le\\\""
14600e
+    HOST_CPU=ppc64le;;
14600e
   sparc*)
eb8f0f
     CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
eb8f0f
     HOST_CPU=$host_cpu;;