--- imagemagick.SlackBuild 2007-03-06 23:42:04.000000000 -0500 +++ imagemagick.SlackBuild.s390x 2009-07-02 19:17:09.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 \ --mandir=/usr/man \ --program-prefix= \ --enable-16bit-pixel \ @@ -75,7 +76,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)