--- libcaca.SlackBuild	2006-04-03 20:42:08.000000000 -0400
+++ libcaca.SlackBuild.s390x	2006-09-13 23:00:54.000000000 -0400
@@ -19,17 +19,19 @@
 CFLAGS=-O2 \
 ./configure \
   --prefix=/usr \
+  --libdir='${exec_prefix}/lib64' \
   --disable-imlib2 \
   --enable-slang \
   --enable-ncurses \
   --enable-x11
 make
-make install DESTDIR=$PKG
+make -i install DESTDIR=$PKG
 ( 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
   find . -type f -name "*.a" | xargs file | grep archive | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
 )
+chown -R root:bin $PKG/usr/bin
 gzip -9 $PKG/usr/man/man?/*.?
 ( cd $PKG/usr/man/man1
   rm *.?
