diff options
Diffstat (limited to 'development/gnustep-make/gnustep-make.SlackBuild')
-rw-r--r-- | development/gnustep-make/gnustep-make.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/development/gnustep-make/gnustep-make.SlackBuild b/development/gnustep-make/gnustep-make.SlackBuild index 63ceec302977a..480187bc01096 100644 --- a/development/gnustep-make/gnustep-make.SlackBuild +++ b/development/gnustep-make/gnustep-make.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=gnustep-make VERSION=${VERSION:-2.7.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,6 +69,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Put a Slackware specific FilesystemLayout in place +sed -e "s/_lib_/lib${LIBDIRSUFFIX}/g" \ + $CWD/fhs-slackware > FilesystemLayouts/slackware + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -76,19 +80,17 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --infodir=/usr/info \ --libdir=/usr/lib${LIBDIRSUFFIX} \ - --with-layout=fhs-system \ + --with-layout=slackware \ --with-config-file=/etc/GNUstep/GNUstep.conf \ --with-library-combo=gnu-gnu-gnu \ --build=$ARCH-slackware-linux - make make install DESTDIR=$PKG mv $PKG/etc/GNUstep/GNUstep.conf $PKG/etc/GNUstep/GNUstep.conf.new -sed -e "s,/usr/lib$,/usr/lib${LIBDIRSUFFIX},g" \ - -e "s,/usr/local/lib$,/usr/local/lib${LIBDIRSUFFIX},g" \ +sed -e "s,/lib/,/lib${LIBDIRSUFFIX}/,g" \ -e "s,/usr/local/share/info,/usr/local/info,g" \ -e "s,/usr/local/share/man,/usr/local/man,g" \ -e "s,/usr/share/info,/usr/info,g" \ |