summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dns/powerdns-devel/Makefile6
-rw-r--r--dns/powerdns/Makefile6
-rw-r--r--net/powerdns/Makefile6
3 files changed, 12 insertions, 6 deletions
diff --git a/dns/powerdns-devel/Makefile b/dns/powerdns-devel/Makefile
index 5515bf40ac8c..a15970b8cacd 100644
--- a/dns/powerdns-devel/Makefile
+++ b/dns/powerdns-devel/Makefile
@@ -75,14 +75,16 @@ describe:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500000 && defined(POWERDNS_WITH_RECURSOR)
+.if defined(POWERDNS_WITH_RECURSOR)
+USE_GCC=3.2
CONFIGURE_ARGS+= --enable-recursor
PLIST_SUB+= RECURSOR=""
.else
PLIST_SUB+= RECURSOR="@comment "
.endif
-.if ${OSVERSION} >= 500043 && defined(WITH_LDAP)
+.if defined(WITH_LDAP)
+USE_GCC=3.2
LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT}
LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT}
CONFIGURE_MODULES+= "ldap"
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile
index 5515bf40ac8c..a15970b8cacd 100644
--- a/dns/powerdns/Makefile
+++ b/dns/powerdns/Makefile
@@ -75,14 +75,16 @@ describe:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500000 && defined(POWERDNS_WITH_RECURSOR)
+.if defined(POWERDNS_WITH_RECURSOR)
+USE_GCC=3.2
CONFIGURE_ARGS+= --enable-recursor
PLIST_SUB+= RECURSOR=""
.else
PLIST_SUB+= RECURSOR="@comment "
.endif
-.if ${OSVERSION} >= 500043 && defined(WITH_LDAP)
+.if defined(WITH_LDAP)
+USE_GCC=3.2
LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT}
LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT}
CONFIGURE_MODULES+= "ldap"
diff --git a/net/powerdns/Makefile b/net/powerdns/Makefile
index 5515bf40ac8c..a15970b8cacd 100644
--- a/net/powerdns/Makefile
+++ b/net/powerdns/Makefile
@@ -75,14 +75,16 @@ describe:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500000 && defined(POWERDNS_WITH_RECURSOR)
+.if defined(POWERDNS_WITH_RECURSOR)
+USE_GCC=3.2
CONFIGURE_ARGS+= --enable-recursor
PLIST_SUB+= RECURSOR=""
.else
PLIST_SUB+= RECURSOR="@comment "
.endif
-.if ${OSVERSION} >= 500043 && defined(WITH_LDAP)
+.if defined(WITH_LDAP)
+USE_GCC=3.2
LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT}
LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT}
CONFIGURE_MODULES+= "ldap"