aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2004-06-11 10:24:06 +0800
committernork <nork@FreeBSD.org>2004-06-11 10:24:06 +0800
commit5c86ea0ef6d57b6f4eb9af2a50fd9dc94f37729a (patch)
tree7f328d2e8d5138e8a689a4efd71915444c1359fb
parentb6ab638ae4bec6c022b39a15398098483909bd45 (diff)
downloadfreebsd-ports-gnome-5c86ea0ef6d57b6f4eb9af2a50fd9dc94f37729a.tar.gz
freebsd-ports-gnome-5c86ea0ef6d57b6f4eb9af2a50fd9dc94f37729a.tar.zst
freebsd-ports-gnome-5c86ea0ef6d57b6f4eb9af2a50fd9dc94f37729a.zip
Fix dependency on databases/postgresql7
-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