summaryrefslogtreecommitdiff
path: root/databases/postgis
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2005-01-31 00:35:55 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2005-01-31 00:35:55 +0000
commit34fa6c853efa04ca648d3d4187d4aec40a00fc0d (patch)
tree3445b3e9b6e7650fd127ec078394a0d7a8e79076 /databases/postgis
parentSplit the postgresql ports into a server and a client part. (diff)
Split the postgresql ports into a server and a client part.
All ports depending on postgresql shall use the USE_PGSQL=yes knob defined in Mk/bsd.ports.mk. Bumping portrevisions where needed. PR: 75344 Approved by: portmgr@ (kris), ade & sean (mentors)
Notes
Notes: svn path=/head/; revision=127737
Diffstat (limited to 'databases/postgis')
-rw-r--r--databases/postgis/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/databases/postgis/Makefile b/databases/postgis/Makefile
index 1293fcd0f10e..9fe5ffa657d5 100644
--- a/databases/postgis/Makefile
+++ b/databases/postgis/Makefile
@@ -27,8 +27,9 @@ PGSQL_SRC= ${WRKDIR}/pgsql/postgresql
INSTALL_TARGET= install
INSTALLS_SHLIB= no
-OPTIONS= PGSQL8 "Use PostgreSQL 8 instead of PostgreSQL 7.4" off \
- GEOS "Include GEOS - the OpenGIS 'Simple Features for SQL'" off \
+OPTIONS= GEOS "Include GEOS - the OpenGIS 'Simple Features for SQL'" off \
+
+USE_PGSQL= YES
.include <bsd.port.pre.mk>
@@ -37,13 +38,7 @@ MAKE_ARGS= PGSQL_SRC="${PGSQL_SRC}" \
BINDIR="${PREFIX}/bin" \
LIBDIR="${PREFIX}/lib"
-.if defined(WITH_PGSQL8)
-PGSQL_PORTDIR= ${PORTSDIR}/databases/postgresql-devel
-.else
-PGSQL_PORTDIR= ${PORTSDIR}/databases/postgresql7
-.endif
-
-LIB_DEPENDS+= pq.3:${PGSQL_PORTDIR}
+PGSQL_PORTDIR= ${PORTSDIR}/databases/postgresql${PGSQL_VER}-client
.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \