--- libpng.SlackBuild 2009-06-19 19:03:37.000000000 -0400 +++ libpng.SlackBuild.s390x 2009-07-01 17:57:36.000000000 -0400 @@ -31,13 +31,16 @@ # Need this to substitute macros, but we'll keep using the # pre-built Makefile for now anyway... -./configure --prefix=/usr +# It might look like the --libdir specification isn't buying us anything, but believe it +# or not, it shows up in the pkgconfig file for the package. +./configure --prefix=/usr \ + --libdir='${exec_prefix}/lib64' # Link the custom makefile: ln -sf scripts/makefile.linux ./Makefile make -j4 prefix=/usr || exit 1 -make install prefix=/usr DESTDIR=$PKG +make install prefix=/usr LIBPATH=/usr/lib64 DESTDIR=$PKG # This symlink is needed to keep old applications running: # I guess the real lib used the major number 3, then 0 for