--- pilot-link.SlackBuild 2006-04-03 20:43:17.000000000 -0400 +++ pilot-link.SlackBuild.s390x 2006-09-16 21:37:36.000000000 -0400 @@ -12,7 +12,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" @@ -37,6 +37,7 @@ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir='${exec_prefix}/lib64' \ --localstatedir=/var/lib \ --enable-static=no \ --program-prefix="" \ @@ -44,6 +45,7 @@ $ARCH-slackware-linux make -j3 make install 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