--- subversion.SlackBuild 2006-07-31 01:43:23.000000000 -0400
+++ subversion.SlackBuild.s390x 2006-09-07 17:03:18.000000000 -0400
@@ -11,7 +11,7 @@
SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
elif [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "s390" ]; then
+elif [ "$ARCH" = "s390x" ]; then
SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2"
@@ -43,6 +43,7 @@
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib64 \
--enable-shared \
--disable-static \
--with-apr=/usr \
@@ -53,7 +54,7 @@
make -j3 || exit 1
make install DESTDIR=$PKG
make install-docs DESTDIR=$PKG
-
+#chown -R root.bin $PKG/usr/bin
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
@@ -78,7 +79,7 @@
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
chown -R root:root .
-)
+)
mv $PKG/usr/share/doc/* $PKG/usr/doc
rmdir $PKG/usr/share/doc