aboutsummaryrefslogtreecommitdiff
path: root/databases/postgis
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2007-08-31 10:32:16 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2007-08-31 10:32:16 +0000
commitc50c752d5967512a67d4b9e88aeb9732a38839c3 (patch)
tree8e1c3ca35169662fad634fcda9b0ca068a123ff2 /databases/postgis
parent5bc95d18a93e62b5faec280d30c2aa1a0d8484d6 (diff)
downloadports-c50c752d5967512a67d4b9e88aeb9732a38839c3.tar.gz
ports-c50c752d5967512a67d4b9e88aeb9732a38839c3.zip
Notes
Diffstat (limited to 'databases/postgis')
-rw-r--r--databases/postgis/Makefile3
-rw-r--r--databases/postgis/files/patch-GNUmakefile30
2 files changed, 30 insertions, 3 deletions
diff --git a/databases/postgis/Makefile b/databases/postgis/Makefile
index db5484cbde35..045159464a21 100644
--- a/databases/postgis/Makefile
+++ b/databases/postgis/Makefile
@@ -20,6 +20,7 @@ RUN_DEPENDS= postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
USE_GCC= 3.2+
USE_PGSQL= yes
USE_GMAKE= yes
+USE_LDCONFIG= yes
USE_PERL5_BUILD= yes
INSTALL_TARGET= install
@@ -41,6 +42,8 @@ BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \
MAKE_ARGS+= WITH-DOC=yes
MAN1= pgsql2shp.1 shp2pgsql.1
PORTDOCS= *
+.else
+MAKE_ARGS+= NOPORTSDOC=yes
.endif
.if defined(WITH_UTF8)
diff --git a/databases/postgis/files/patch-GNUmakefile b/databases/postgis/files/patch-GNUmakefile
index 20a3326c08fb..5cc80a4804b0 100644
--- a/databases/postgis/files/patch-GNUmakefile
+++ b/databases/postgis/files/patch-GNUmakefile
@@ -1,5 +1,5 @@
---- GNUmakefile 2007-07-10 18:12:42.000000000 -0300
-+++ GNUmakefile 2007-08-01 08:23:45.000000000 -0300
+--- GNUmakefile.orig 2007-07-11 05:12:42.000000000 +0800
++++ GNUmakefile 2007-08-31 17:41:49.000000000 +0800
@@ -4,9 +4,9 @@
#
#-----------------------------------------------------
@@ -12,7 +12,31 @@
uninstall: liblwgeom-uninstall loaderdumper-uninstall docs-uninstall
-@@ -87,6 +87,9 @@
+@@ -72,21 +72,31 @@
+ $(MAKE) -C extras/template_gis uninstall
+
+ docs: Makefile.config
+- $(MAKE) -C doc
++ifndef NOPORTSDOC
++ $(MAKE) -C doc
++endif
+
+ docs-clean: Makefile.config
++ifndef NOPORTSDOC
+ $(MAKE) -C doc clean
+-
++endif
+
+ docs-install:
++ifndef NOPORTSDOC
+ $(MAKE) -C doc install
++endif
+
+ docs-uninstall:
++ifndef NOPORTSDOC
+ $(MAKE) -C doc uninstall
++endif
+
utils:
$(MAKE) -C utils