summaryrefslogtreecommitdiff
path: root/net/maradns
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-11-12 06:39:19 +0000
committerjlam <jlam@pkgsrc.org>2004-11-12 06:39:19 +0000
commit08bd1482c890f3a621b3f77885975cf276bb0264 (patch)
treeddbacf3026d39d6b23e622ac51745a4f7db32d44 /net/maradns
parent3690d543baf9ce61bf3eeacf827697fb7dc431a9 (diff)
downloadpkgsrc-08bd1482c890f3a621b3f77885975cf276bb0264.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/Makefile8
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"