diff options
author | jlam <jlam@pkgsrc.org> | 2004-11-12 06:39:19 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-11-12 06:39:19 +0000 |
commit | af591191d2b91375c67ab57df64d383e66055294 (patch) | |
tree | ddbacf3026d39d6b23e622ac51745a4f7db32d44 /net/maradns | |
parent | 675d464c92282081571087f8ad824d1cae9d8414 (diff) | |
download | pkgsrc-af591191d2b91375c67ab57df64d383e66055294.tar.gz |
Remove redundant uses of PTHREAD_{CFLAGS,LDFLAGS} now that they're added
automatically by pthread.buildlink3.mk. Also, factor out the pthread
library out of PTHREAD_LDFLAGS into a standalone variable PTHREAD_LIBS
and use it in packages where necessary (usually the ones that don't
have a GNU configure script).
Diffstat (limited to 'net/maradns')
-rw-r--r-- | net/maradns/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/maradns/Makefile b/net/maradns/Makefile index feee0d08d0d..ea240634a48 100644 --- a/net/maradns/Makefile +++ b/net/maradns/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2004/04/25 08:31:20 snj Exp $ +# $NetBSD: Makefile,v 1.7 2004/11/12 06:39:21 jlam Exp $ DISTNAME= maradns-1.0.18 PKGREVISION= 1 @@ -20,6 +20,9 @@ MAKE_ENV+= LANGUAGE="en" EGDIR= ${PREFIX}/share/examples/maradns CONF_FILES= ${EGDIR}/example_mararc ${PKG_SYSCONFDIR}/mararc +.include "../../mk/pthread.buildlink3.mk" +LDFLAGS+= ${PTHREAD_LIBS} + post-patch: ${SED} -e s,@@PKGSYSCONFDIR@@,${PKG_SYSCONFDIR}, \ ${WRKSRC}/parse/ParseMaraRc.c > ${WRKSRC}/parse/ParseMaraRc.sed @@ -29,7 +32,4 @@ post-install: ${MV} ${PREFIX}/share/doc/maradns/examples \ ${PREFIX}/share/examples/maradns -.include "../../mk/pthread.buildlink3.mk" -LDFLAGS+= ${PTHREAD_LDFLAGS} - .include "../../mk/bsd.pkg.mk" |