summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
Diffstat (limited to 'news')
-rw-r--r--news/cg/Makefile13
-rw-r--r--news/leafnode/Makefile5
-rw-r--r--news/suck/Makefile7
3 files changed, 12 insertions, 13 deletions
diff --git a/news/cg/Makefile b/news/cg/Makefile
index b4e3e196dc9..b6bae7a3877 100644
--- a/news/cg/Makefile
+++ b/news/cg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/02/22 19:27:01 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2007/09/06 21:51:53 jlam Exp $
#
DISTNAME= cg-0.4
@@ -14,12 +14,13 @@ USE_TOOLS+= lex
TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
+
.if !empty(LOWER_OPSYS:Mirix5*)
-# needs regex.h
-. include "../../pkgtools/libnbcompat/buildlink3.mk"
+. include "../../pkgtools/libnbcompat/inplace.mk" # <regex.h>
SUBST_CLASSES+= regex_h
-SUBST_STAGE.regex_h= post-patch
-SUBST_FILES.regex_h= checkgroup.c
-SUBST_SED.regex_h= -e "s,<regex\.h>,<nbcompat/regex.h>,"
+SUBST_STAGE.regex_h= post-patch
+SUBST_FILES.regex_h= checkgroup.c
+SUBST_SED.regex_h= -e "s,<regex\.h>,<nbcompat/regex.h>,"
.endif
+
.include "../../mk/bsd.pkg.mk"
diff --git a/news/leafnode/Makefile b/news/leafnode/Makefile
index 9538ec31cd6..6299703ca26 100644
--- a/news/leafnode/Makefile
+++ b/news/leafnode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2007/07/04 20:54:55 jlam Exp $
+# $NetBSD: Makefile,v 1.37 2007/09/06 21:51:53 jlam Exp $
DISTNAME= leafnode-1.11.3.rel
PKGNAME= ${DISTNAME:S/.rel//}
@@ -70,8 +70,7 @@ post-install:
${WRKSRC}/README.FIRST ${PREFIX}/share/doc/leafnode
.if !empty(LOWER_OPSYS:Mirix5*)
-# needs snprintf(), vsnprintf()
-. include "../../pkgtools/libnbcompat/buildlink3.mk"
+. include "../../pkgtools/libnbcompat/inplace.mk" # {,v}snprintf()
.endif
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/news/suck/Makefile b/news/suck/Makefile
index cab6e61b4e0..b2ececb5f4f 100644
--- a/news/suck/Makefile
+++ b/news/suck/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2006/10/15 21:59:13 schwarz Exp $
+# $NetBSD: Makefile,v 1.24 2007/09/06 21:51:53 jlam Exp $
#
DISTNAME= suck-4.3.2
@@ -14,6 +14,7 @@ COMMENT= Feed a local news server without a dedicated newsfeed
GNU_CONFIGURE= yes
+.include "../../mk/bsd.prefs.mk"
.include "options.mk"
post-patch:
@@ -26,10 +27,8 @@ post-install:
${CP} ${WRKSRC}/sample/* ${PREFIX}/share/examples/suck
${CHMOD} 644 ${PREFIX}/share/examples/suck/*
-.include "../../mk/bsd.prefs.mk"
.if !empty(LOWER_OPSYS:Mirix5*)
-# needs snprintf()
-. include "../../pkgtools/libnbcompat/buildlink3.mk"
+. include "../../pkgtools/libnbcompat/inplace.mk" # snprintf()
.endif
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"