--- pan.SlackBuild	2006-04-03 20:47:42.000000000 -0400
+++ pan.SlackBuild.s390x	2006-08-30 23:56:04.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"
@@ -40,6 +40,7 @@
   $ARCH-slackware-linux
 make -j3
 make install DESTDIR=$PKG
+chown -R root:bin $PKG/usr/bin
 # Fix the .desktop, and put it in the standard place:
 mkdir -p $PKG/usr/share/applications
 zcat $CWD/pan.desktop.gz > $PKG/usr/share/applications/pan.desktop
