--- libgtkhtml.SlackBuild 2006-04-03 20:17:52.000000000 -0400
+++ libgtkhtml.SlackBuild.s390x 2005-12-30 21:28:50.000000000 -0500
@@ -10,7 +10,7 @@
SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
elif [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "s390" ]; then
+elif [ "$ARCH" = "s390x" ]; then
SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2"
@@ -22,12 +22,13 @@
rm -rf libgtkhtml-$VERSION
tar xjvf $CWD/libgtkhtml-$VERSION.tar.bz2
cd libgtkhtml-$VERSION
-chown -R root:root .
+chown -R root.root .
find . -perm 777 -exec chmod 755 {} \;
find . -perm 664 -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib64 \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--enable-static=no \