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

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