aboutsummaryrefslogtreecommitdiff
path: root/net/freeradius/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/freeradius/Makefile')
-rw-r--r--net/freeradius/Makefile3
1 files changed, 2 insertions, 1 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