diff options
author | gahr <gahr@FreeBSD.org> | 2013-02-07 20:52:44 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-02-07 20:52:44 +0800 |
commit | 9496c14cb5d90c9e713cf4d4139e6dea57b118d9 (patch) | |
tree | e72e04c2644b45d7aa194770d25cf228fe311bbb /dns | |
parent | addbecdafb51a79aff8abbf6027253fbdd59543f (diff) | |
download | freebsd-ports-gnome-9496c14cb5d90c9e713cf4d4139e6dea57b118d9.tar.gz freebsd-ports-gnome-9496c14cb5d90c9e713cf4d4139e6dea57b118d9.tar.zst freebsd-ports-gnome-9496c14cb5d90c9e713cf4d4139e6dea57b118d9.zip |
- Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: dns)
Approved by: portmgr
Diffstat (limited to 'dns')
-rw-r--r-- | dns/autotrust/Makefile | 4 | ||||
-rw-r--r-- | dns/dnrd/Makefile | 1 | ||||
-rw-r--r-- | dns/dnsflood/Makefile | 2 | ||||
-rw-r--r-- | dns/maradns/Makefile | 5 | ||||
-rw-r--r-- | dns/pdnsd/Makefile | 2 |
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 |