aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorgirgen <girgen@FreeBSD.org>2005-01-31 08:35:55 +0800
committergirgen <girgen@FreeBSD.org>2005-01-31 08:35:55 +0800
commitca9d0e2291f677879c1b36a416eb2ad271850cbc (patch)
tree339f4530a6f0b38252173ddc8ba47c21226501d3 /dns
parentcbe074a01a678ad3149123153f48962b4b035576 (diff)
downloadfreebsd-ports-gnome-ca9d0e2291f677879c1b36a416eb2ad271850cbc.tar.gz
freebsd-ports-gnome-ca9d0e2291f677879c1b36a416eb2ad271850cbc.tar.zst
freebsd-ports-gnome-ca9d0e2291f677879c1b36a416eb2ad271850cbc.zip
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 'dns')
-rw-r--r--dns/bind9-dlz/Makefile3
-rw-r--r--dns/mydns-ng/Makefile3
-rw-r--r--dns/mydns/Makefile3
-rw-r--r--dns/sqldjbdns/Makefile4
4 files changed, 6 insertions, 7 deletions
diff --git a/dns/bind9-dlz/Makefile b/dns/bind9-dlz/Makefile
index 185fbe4605fa..50b990a10ea4 100644
--- a/dns/bind9-dlz/Makefile
+++ b/dns/bind9-dlz/Makefile
@@ -25,7 +25,6 @@ MAINTAINER= dinoex@FreeBSD.org
COMMENT= The Berkeley Internet Name Daemon, with DLZ extensions
CONFLICTS?= bind-8.* bind84-8.* bind9-9.* bind9-sdb-mysql-* host-* skalibs-*
-POSTGRESQL_PORT?= databases/postgresql7
MASTER_SITES_DLZ= ${MASTER_SITE_SOURCEFORGE}
ISCVERSION= 9.2.2
@@ -51,7 +50,7 @@ NO_DESCRIBE=yes
.if defined(WITH_POSTGRESQL_DRIVER)
.if !defined(WITHOUT_POSTGRESQL_DRIVER)
POSTGRESQL_SUFFIX= +postgres
-LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+USE_PGSQL= yes
CONFIGURE_ARGS+= --with-dlz-postgres
.endif
.endif
diff --git a/dns/mydns-ng/Makefile b/dns/mydns-ng/Makefile
index 8af5630a33f6..bc84bed3aa68 100644
--- a/dns/mydns-ng/Makefile
+++ b/dns/mydns-ng/Makefile
@@ -35,8 +35,7 @@ CONFIGURE_ARGS+=--with-openssl
.endif
.if defined(WITH_PGSQL)
-POSTGRESQL_PORT?= databases/postgresql7
-LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+USE_PGSQL= yes
CONFIGURE_ARGS+=--without-mysql
PKGNAMESUFFIX= -pg
.else
diff --git a/dns/mydns/Makefile b/dns/mydns/Makefile
index 8af5630a33f6..bc84bed3aa68 100644
--- a/dns/mydns/Makefile
+++ b/dns/mydns/Makefile
@@ -35,8 +35,7 @@ CONFIGURE_ARGS+=--with-openssl
.endif
.if defined(WITH_PGSQL)
-POSTGRESQL_PORT?= databases/postgresql7
-LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+USE_PGSQL= yes
CONFIGURE_ARGS+=--without-mysql
PKGNAMESUFFIX= -pg
.else
diff --git a/dns/sqldjbdns/Makefile b/dns/sqldjbdns/Makefile
index 5e12b16c5d46..a525647812a8 100644
--- a/dns/sqldjbdns/Makefile
+++ b/dns/sqldjbdns/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sqldjbdns
PORTVERSION= 0.72
+PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://home.tiscali.cz:8080/~cz210552/distfiles/
@@ -15,9 +16,10 @@ COMMENT= DJB dns server with PostgreSQL backend
DJ_PORT?= ${PORTSDIR}/dns/djbdns
BUILD_DEPENDS= ${NONEXISTENT}:${DJ_PORT}:extract
-LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools
+USE_PGSQL= YES
+
PORTDOCS= ANNOUNCEMENT STATUS pgsqldns.html NEWS TODO README \
pgsqldns-conf.html sqldns.html pgsqldns-schema.html
DJ_SRC= `cd ${DJ_PORT} && make -V WRKSRC`