summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mapserver/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/mapserver/Makefile b/graphics/mapserver/Makefile
index 01609f19ac63..803b7808cbb1 100644
--- a/graphics/mapserver/Makefile
+++ b/graphics/mapserver/Makefile
@@ -74,8 +74,7 @@ CONFIGURE_ARGS+= --with-gdal=${LOCALBASE}/bin/gdal-config \
.endif
.if defined(WITH_POSTGIS)
-POSTGRESQL_PORT?= databases/postgis
-LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+USE_PGSQL= YES
CONFIGURE_ARGS+= --with-postgis=${LOCALBASE}/bin/pg_config
.endif