--- imagemagick.SlackBuild 2006-08-15 16:39:44.000000000 -0400 +++ imagemagick.SlackBuild.s390x 2006-08-20 18:43:37.000000000 -0400 @@ -30,7 +30,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" @@ -62,6 +62,7 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib64 \ --program-prefix= \ --enable-16bit-pixel \ --with-x \ @@ -74,7 +75,7 @@ make install DESTDIR=$PKG # Lately ImageMagick has been smoking crack: -rm -f $PKG/usr/lib/libltdl.* +rm -vf $PKG/usr/lib64/libltdl.* ( cd $PKG # Nothing but a perl upgrade should replace this (and maybe not even that)