aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2004-06-11 02:24:06 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2004-06-11 02:24:06 +0000
commitfba91a9287942877de54c59970fd2b0819aa077f (patch)
tree166c6647602e2120e3d88a2beb0243c268f31140
parent8705ab868ebe84992b06bd54126d8935a91d6e79 (diff)
downloadports-fba91a9287942877de54c59970fd2b0819aa077f.tar.gz
ports-fba91a9287942877de54c59970fd2b0819aa077f.zip
Notes
-rw-r--r--net/freeradius/Makefile3
-rw-r--r--net/freeradius2/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/net/freeradius/Makefile b/net/freeradius/Makefile
index 21e55c7366e9..aab3ccd70798 100644
--- a/net/freeradius/Makefile
+++ b/net/freeradius/Makefile
@@ -50,7 +50,8 @@ PLIST_SUB+= MYSQL="@comment "
.endif
.if defined(WITH_PGSQL) || defined(WITH_POSTGRESQL)
-LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7-client
+POSTGRESQL_PORT?= databases/postgresql7
+LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
PLIST_SUB+= PGSQL=""
.else
CONFIGURE_ARGS+=--without-rlm_sql_postgresql
diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile
index 21e55c7366e9..aab3ccd70798 100644
--- a/net/freeradius2/Makefile
+++ b/net/freeradius2/Makefile
@@ -50,7 +50,8 @@ PLIST_SUB+= MYSQL="@comment "
.endif
.if defined(WITH_PGSQL) || defined(WITH_POSTGRESQL)
-LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7-client
+POSTGRESQL_PORT?= databases/postgresql7
+LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
PLIST_SUB+= PGSQL=""
.else
CONFIGURE_ARGS+=--without-rlm_sql_postgresql