summaryrefslogtreecommitdiff
path: root/net
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 /net
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)
Diffstat (limited to 'net')
-rw-r--r--net/courier-authlib-ldap/Makefile3
-rw-r--r--net/freeradius/Makefile3
-rw-r--r--net/freeradius2/Makefile3
-rw-r--r--net/jabberd/Makefile2
-rw-r--r--net/samba3/Makefile2
-rw-r--r--net/ser/Makefile6
6 files changed, 7 insertions, 12 deletions
diff --git a/net/courier-authlib-ldap/Makefile b/net/courier-authlib-ldap/Makefile
index 71952f4da9b4..ea2c8c5b15a5 100644
--- a/net/courier-authlib-ldap/Makefile
+++ b/net/courier-authlib-ldap/Makefile
@@ -86,8 +86,7 @@ CONFIGURE_ARGS+=--with-authmysql \
CONFIGURE_ARGS+=--without-authpgsql
PLIST_SUB+= PGSQLFLAG="@comment "
.else
-POSTGRESQL_PORT?= databases/postgresql7
-LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+USE_PGSQL= YES
PLIST_SUB+= PGSQLFLAG=""
.endif
diff --git a/net/freeradius/Makefile b/net/freeradius/Makefile
index 825e46d31617..f75ba20a6795 100644
--- a/net/freeradius/Makefile
+++ b/net/freeradius/Makefile
@@ -62,8 +62,7 @@ PLIST_SUB+= MYSQL="@comment "
.endif
.ifdef(WITH_PGSQL)
-POSTGRESQL_PORT?= databases/postgresql7
-LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+USE_PGSQL= YES
PLIST_SUB+= PGSQL=""
.else
CONFIGURE_ARGS+=--without-rlm_sql_postgresql
diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile
index 825e46d31617..f75ba20a6795 100644
--- a/net/freeradius2/Makefile
+++ b/net/freeradius2/Makefile
@@ -62,8 +62,7 @@ PLIST_SUB+= MYSQL="@comment "
.endif
.ifdef(WITH_PGSQL)
-POSTGRESQL_PORT?= databases/postgresql7
-LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+USE_PGSQL= YES
PLIST_SUB+= PGSQL=""
.else
CONFIGURE_ARGS+=--without-rlm_sql_postgresql
diff --git a/net/jabberd/Makefile b/net/jabberd/Makefile
index 6f595c736b45..0406b8424489 100644
--- a/net/jabberd/Makefile
+++ b/net/jabberd/Makefile
@@ -34,7 +34,7 @@ CONFIGURE_ARGS+=--enable-debug
.endif
.if defined(WITH_POSTGRESQL)
-LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
+USE_PGSQL= yes
CONFIGURE_ARGS+=--enable-pgsql
.else
CONFIGURE_ARGS+=--disable-pgsql
diff --git a/net/samba3/Makefile b/net/samba3/Makefile
index 941b7163ca18..fdfe52ba9214 100644
--- a/net/samba3/Makefile
+++ b/net/samba3/Makefile
@@ -155,7 +155,7 @@ PLIST_SUB+= SAMMYSQL="@comment "
.endif
.if defined(WITH_SAM_PGSQL)
-LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
+USE_PGSQL= yes
CONFIGURE_ARGS+= --with-pgsql-prefix=${LOCALBASE}
WANT_EXPSAM_MODULES+= pgsql
PLIST_SUB+= SAMPGSQL=""
diff --git a/net/ser/Makefile b/net/ser/Makefile
index c413f0ea17bb..b2f3c863ec5f 100644
--- a/net/ser/Makefile
+++ b/net/ser/Makefile
@@ -15,14 +15,12 @@ MAINTAINER= sobomax@FreeBSD.org
COMMENT= A very fast and configurable SIP proxy
BUILD_DEPENDS= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
-LIB_DEPENDS= radiusclient.2:${PORTSDIR}/net/radiusclient \
- pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+LIB_DEPENDS= radiusclient.2:${PORTSDIR}/net/radiusclient
RUN_DEPENDS= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-POSTGRESQL_PORT?= databases/postgresql7
-
+USE_PGSQL= yes
USE_GMAKE= yes
CFLAGS+= -I${LOCALBASE}/include