aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind96
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2009-09-01 09:31:43 +0800
committerdougb <dougb@FreeBSD.org>2009-09-01 09:31:43 +0800
commit04ca87c0eb1a52195493a449f073b14857258689 (patch)
treeadf8ec7c974d6b58dca9867bc984bdc0a0cf9f0b /dns/bind96
parentff06dcae9f8c51dda0e92ea529ced0b410e6511f (diff)
downloadfreebsd-ports-gnome-04ca87c0eb1a52195493a449f073b14857258689.tar.gz
freebsd-ports-gnome-04ca87c0eb1a52195493a449f073b14857258689.tar.zst
freebsd-ports-gnome-04ca87c0eb1a52195493a449f073b14857258689.zip
The new LINKS OPTION is not only useless it's harmful when combined
with the REPLACE_BASE option so if the latter is defined don't try to make the LINKS. Problem pointed out by: Chris Wopat <me@falz.net>
Diffstat (limited to 'dns/bind96')
-rw-r--r--dns/bind96/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/dns/bind96/Makefile b/dns/bind96/Makefile
index 4f44bab43223..821e067f86e7 100644
--- a/dns/bind96/Makefile
+++ b/dns/bind96/Makefile
@@ -87,7 +87,7 @@ LIB_DEPENDS+= idnkit.1:${PORTSDIR}/dns/idnkit
CONFIGURE_ARGS+= --without-idn
.endif
-.if !defined(WITHOUT_LINKS)
+.if !defined(WITHOUT_LINKS) && !defined(WITH_REPLACE_BASE)
PLIST_SUB+= LINKS=""
.else
PLIST_SUB+= LINKS="@comment "
@@ -218,7 +218,7 @@ post-install:
${WRKSRC}/README.pkcs11 \
${DOCSDIR}/
.endif
-.if !defined(WITHOUT_LINKS)
+.if !defined(WITHOUT_LINKS) && !defined(WITH_REPLACE_BASE)
${MKDIR} /var/named${PREFIX}/etc
.for DIR in ${PREFIX}/etc /var/named${PREFIX}/etc
.for FILE in named.conf rndc.key