--- cscope.SlackBuild	2006-04-03 20:38:33.000000000 -0400
+++ cscope.SlackBuild.s390x	2006-09-07 18:34:24.000000000 -0400
@@ -7,8 +7,8 @@
 PKG=$TMP/package-cscope
 
 VERSION=15.5
-ARCH=i486
-BUILD=2
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-2}
 
 if [ ! -d $TMP ]; then
   mkdir -p $TMP # location to build the source
@@ -26,6 +26,7 @@
 ./configure --prefix=/usr
 make
 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
