--- xfce.SlackBuild	2006-04-03 20:48:03.000000000 -0400
+++ xfce.SlackBuild.s390x	2006-09-02 23:09:46.000000000 -0400
@@ -36,7 +36,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"
@@ -100,6 +100,7 @@
     CFLAGS="$SLKCFLAGS" \
     CXXFLAGS="$SLKCFLAGS" \
     ./configure --prefix=/usr \
+      --libdir='${exec_prefix}/lib64' \
       --sysconfdir=/etc/X11 \
       --enable-static=no \
       --enable-xinerama
@@ -123,6 +124,7 @@
     )
   )
 done
+chown -R root:bin $PKG/usr/bin
 ( cd $PKG/usr/bin
   ln -sf xffm xffstab4
   ln -sf xffm xfapps
