diff options
Diffstat (limited to 'academic/gri/gri.SlackBuild')
-rw-r--r-- | academic/gri/gri.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/academic/gri/gri.SlackBuild b/academic/gri/gri.SlackBuild index 7ebaf19929628..965946ecd22e2 100644 --- a/academic/gri/gri.SlackBuild +++ b/academic/gri/gri.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for gri -# Copyright 2018 Rob van Nues +# Copyright 2018-2019 Rob van Nues # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -69,6 +69,11 @@ 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 {} \; +#with thanks to Gavin Smith +patch -p1 < $CWD/gri-texinfo-6.7patch.txt +#with thanks to Matteo Bernardini +#patch -p1 < $CWD/texinfo-utf8.patch + aclocal autoconf automake --add-missing @@ -81,8 +86,10 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux -make -make install DESTDIR=$PKG +#with thanks to Matteo Bernardini +#see: https://www.linuxquestions.org/questions/slackware-14/sbo-scripts-not-building-on-current-read-1st-post-pls-4175561999/page142.html#post6049662 +make -j1 +make -j1 install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |