--- fvwm.SlackBuild	2006-04-03 20:46:53.000000000 -0400
+++ fvwm.SlackBuild.s390x	2006-08-19 19:02:40.000000000 -0400
@@ -10,7 +10,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"
@@ -35,6 +35,7 @@
   $ARCH-slackware-linux
 make
 make install DESTDIR=$PKG
+chown -R root:bin $PKG/usr/X11R6/bin
 ( cd $PKG/usr/X11R6/man/man1
   rm -f fvwm-root.1
   ln -sf xpmroot.1.gz fvwm-root.1.gz )
