diff options
Diffstat (limited to 'gis/grass/grass.SlackBuild')
-rw-r--r-- | gis/grass/grass.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gis/grass/grass.SlackBuild b/gis/grass/grass.SlackBuild index 0a6bd02a74..28d48e51ad 100644 --- a/gis/grass/grass.SlackBuild +++ b/gis/grass/grass.SlackBuild @@ -153,11 +153,11 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ # Install the pkgconfig file: install -D -m0644 grass.pc $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/grass.pc - Create unversioned symlinks: +# Create unversioned symlinks: ( cd $PKG/opt ; ln -s $PRGNAM$SHRTVER $PRGNAM ) ( cd $PKG/usr/bin ; ln -s $PRGNAM$SHRTVER $PRGNAM ) - Remove hardcoded version strings: +# Remove hardcoded version strings: sed -i -e "s/-${VERSION}//g" \ $PKG/usr/bin/$PRGNAM$SHRTVER \ $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/grass.pc |