summaryrefslogtreecommitdiffstats
path: root/gis/postgis
diff options
context:
space:
mode:
author Benjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-03-16 23:06:11 -0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-24 06:50:33 +0700
commit1e0ce2dbe2c56209e9e5de1406492fa6dd7ad3e1 (patch)
treecfc577acd7980c9ab14213c0ab47f7a20500aae0 /gis/postgis
parentcc68fd856c32af9b13e6130be7616ab991c9e99d (diff)
downloadslackbuilds-1e0ce2dbe2c56209e9e5de1406492fa6dd7ad3e1.tar.gz
slackbuilds-1e0ce2dbe2c56209e9e5de1406492fa6dd7ad3e1.tar.xz
gis/postgis: Script clean up.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis/postgis')
-rw-r--r--gis/postgis/postgis.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/gis/postgis/postgis.SlackBuild b/gis/postgis/postgis.SlackBuild
index 31729b1b9e..664b372803 100644
--- a/gis/postgis/postgis.SlackBuild
+++ b/gis/postgis/postgis.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for PostGIS
# Copyright 2009 Peter Sarkoci <sarkoci@math.sk>
+# Maintained by Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,8 +23,6 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Maintained by Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-
PRGNAM=postgis
VERSION=${VERSION:-2.4.3}
BUILD=${BUILD:-1}
@@ -46,8 +45,6 @@ PGADMIN=${PGADMIN:-no}
if [ "$GUI" = "yes" ] ; then
SHP2PGSQL_GUI="--with-gui"
-else
- PGADMIN=no
fi
if [ "$ARCH" = "i586" ]; then
@@ -77,7 +74,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -91,7 +88,6 @@ CXXFLAGS="$SLKCFLAGS" \
$SHP2PGSQL_GUI \
--build=$ARCH-slackware-linux
-make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \