summaryrefslogtreecommitdiff
path: root/news/cg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'news/cg/Makefile')
-rw-r--r--news/cg/Makefile13
1 files changed, 7 insertions, 6 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"