aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns-devel
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-04-07 04:04:35 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-04-07 04:04:35 +0000
commita46a24003da9d093a67dcddd950c7599d3d3c438 (patch)
treefa061330d881eed554df124dc7e980bcb3e08965 /dns/powerdns-devel
parente94bb2787dc237bc4d2d7c910661c94fa6dc908f (diff)
downloadports-a46a24003da9d093a67dcddd950c7599d3d3c438.tar.gz
ports-a46a24003da9d093a67dcddd950c7599d3d3c438.zip
Notes
Diffstat (limited to 'dns/powerdns-devel')
-rw-r--r--dns/powerdns-devel/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/dns/powerdns-devel/Makefile b/dns/powerdns-devel/Makefile
index a6fbc05ad610..4176ffac5787 100644
--- a/dns/powerdns-devel/Makefile
+++ b/dns/powerdns-devel/Makefile
@@ -85,11 +85,7 @@ describe:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500043
-CONFIGURE_ARGS+= --enable-recursor
-PLIST_SUB+= RECURSOR=""
-
-.if defined(WITH_LDAP)
+.if ${OSVERSION} >= 500043 && defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
CONFIGURE_MODULES+= "ldap"
@@ -103,6 +99,9 @@ post-patch:
${WRKSRC}/pdns/Makefile.in
.endif
+.if ${OSVERSION} >= 500043 && ${MACHINE_ARCH} == "i386"
+CONFIGURE_ARGS+= --enable-recursor
+PLIST_SUB+= RECURSOR=""
.else
PLIST_SUB+= RECURSOR="@comment "
.endif