aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-04-07 12:04:35 +0800
committerdinoex <dinoex@FreeBSD.org>2003-04-07 12:04:35 +0800
commit1ed19333ed3e64e5c28bf903bcb18f1cbaa58b80 (patch)
treeb0eb6fe5866797ef3e388df83a853762b55dd4c7
parent9ef7ed810fd5c8fdabf978d77549c88c0a394186 (diff)
downloadfreebsd-ports-gnome-1ed19333ed3e64e5c28bf903bcb18f1cbaa58b80.tar.gz
freebsd-ports-gnome-1ed19333ed3e64e5c28bf903bcb18f1cbaa58b80.tar.zst
freebsd-ports-gnome-1ed19333ed3e64e5c28bf903bcb18f1cbaa58b80.zip
- build recursor only on i386
recursor fails on alpha, ia64 and sparc with undefined symbol "makecontext"
-rw-r--r--dns/powerdns-devel/Makefile9
-rw-r--r--dns/powerdns/Makefile9
-rw-r--r--net/powerdns/Makefile9
3 files changed, 12 insertions, 15 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
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile
index a6fbc05ad610..4176ffac5787 100644
--- a/dns/powerdns/Makefile
+++ b/dns/powerdns/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
diff --git a/net/powerdns/Makefile b/net/powerdns/Makefile
index a6fbc05ad610..4176ffac5787 100644
--- a/net/powerdns/Makefile
+++ b/net/powerdns/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