aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-02-07 12:52:44 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-02-07 12:52:44 +0000
commit74de3f29351819e5c3a950deb39f73852e9e4d19 (patch)
treee72e04c2644b45d7aa194770d25cf228fe311bbb
parent2ad92eab941d8bd35f72240b5b91c4b980c9f370 (diff)
downloadports-74de3f29351819e5c3a950deb39f73852e9e4d19.tar.gz
ports-74de3f29351819e5c3a950deb39f73852e9e4d19.zip
Notes
-rw-r--r--dns/autotrust/Makefile4
-rw-r--r--dns/dnrd/Makefile1
-rw-r--r--dns/dnsflood/Makefile2
-rw-r--r--dns/maradns/Makefile5
-rw-r--r--dns/pdnsd/Makefile2
5 files changed, 5 insertions, 9 deletions
diff --git a/dns/autotrust/Makefile b/dns/autotrust/Makefile
index 23b09a15cb22..f8ce51b583aa 100644
--- a/dns/autotrust/Makefile
+++ b/dns/autotrust/Makefile
@@ -18,8 +18,8 @@ LIB_DEPENDS+= ldns:${PORTSDIR}/dns/ldns \
unbound:${PORTSDIR}/dns/unbound
GNU_CONFIGURE= yes
-CFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CFLAGS= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -pthread
MAN8= autotrust.8
diff --git a/dns/dnrd/Makefile b/dns/dnrd/Makefile
index c02818b35e1d..6418feee5033 100644
--- a/dns/dnrd/Makefile
+++ b/dns/dnrd/Makefile
@@ -16,7 +16,6 @@ COMMENT= A proxy DNS daemon
USE_GMAKE= yes
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
-CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS}
MAN8= dnrd.8
DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
diff --git a/dns/dnsflood/Makefile b/dns/dnsflood/Makefile
index 1dc55f5b176f..388b9db9ac11 100644
--- a/dns/dnsflood/Makefile
+++ b/dns/dnsflood/Makefile
@@ -25,8 +25,6 @@ USE_RC_SUBR= dnsflood
PORTDOCS= README
pre-patch:
- @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
- ${WRKSRC}/makefiles/Makefile-FreeBSD
@${LN} -sf ${WRKSRC}/makefiles/Makefile-FreeBSD ${WRKSRC}/Makefile
do-install:
diff --git a/dns/maradns/Makefile b/dns/maradns/Makefile
index a6d3ab1c7a55..714b84f26ca8 100644
--- a/dns/maradns/Makefile
+++ b/dns/maradns/Makefile
@@ -13,7 +13,7 @@ LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYING
REINPLACE_ARGS= -i ""
-MAKE_ENV= FLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
+MAKE_ENV= FLAGS="${CFLAGS}"
CONFIGURE_ENV= LANG=
USE_BZIP2= yes
@@ -32,8 +32,7 @@ post-patch:
's|/etc/maradns|${ETCDIR}|g; s|/etc/mararc|${ETCDIR}|g'
@${FIND} ${WRKSRC} -name '*Makefile*' | ${XARGS} ${REINPLACE_CMD} -e \
's|make|\$$\{MAKE\}|g ; \
- s|^FLAGS =|#FLAGS =|g ; \
- s|-lpthread|${PTHREAD_LIBS}|g'
+ s|^FLAGS =|#FLAGS =|g'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/server/maradns ${PREFIX}/sbin
diff --git a/dns/pdnsd/Makefile b/dns/pdnsd/Makefile
index 1f864d0562cf..acddf460783f 100644
--- a/dns/pdnsd/Makefile
+++ b/dns/pdnsd/Makefile
@@ -36,7 +36,7 @@ DOCSRCDIR= ${WRKSRC}/doc
DOC_FILES= html/dl.html html/doc.html html/faq.html html/index.html
DOC_FILES+= txt/faq.txt txt/intro.txt txt/manual.txt
-CFLAGS+= ${PTHREAD_LIBS}
+CFLAGS+= -pthread
OPTIONS= IPV6 "IPv6 support" on