diff options
-rw-r--r-- | gis/postgis/postgis.SlackBuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gis/postgis/postgis.SlackBuild b/gis/postgis/postgis.SlackBuild index a614a9eed7e79..95c2a43b61c52 100644 --- a/gis/postgis/postgis.SlackBuild +++ b/gis/postgis/postgis.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=postgis VERSION=${VERSION:-2.1.7} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -102,6 +102,16 @@ if [ "$PGADMIN" = "yes" ] ; then cp $CWD/$PRGNAM.ini $PKG/usr/share/pgadmin3/plugins.d fi +mkdir -p $PKG/usr/bin +pgbindir=$(pg_config --bindir) +cd $PKG/$pgbindir + for f in *; do + base=`basename $f` + echo ln -s $pgbindir/$base $PKG/usr/bin + ln -s $pgbindir/$base $PKG/usr/bin + done +cd - + mkdir -p $PKG/usr/man/man1 cp -a doc/man/* $PKG/usr/man/man1 gzip -9 $PKG/usr/man/man1/*.1 |