From ec453377c953e8294b5bd0822ef1df84bffda803 Mon Sep 17 00:00:00 2001 From: schwarz Date: Fri, 20 Oct 2006 19:18:45 +0000 Subject: added support for IRIX 5 --- news/cg/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'news') diff --git a/news/cg/Makefile b/news/cg/Makefile index b7dfab84e20..38b267ee8ff 100644 --- a/news/cg/Makefile +++ b/news/cg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/06/09 16:06:18 minskim Exp $ +# $NetBSD: Makefile,v 1.9 2006/10/20 19:18:45 schwarz Exp $ # DISTNAME= cg-0.4 @@ -13,4 +13,13 @@ GNU_CONFIGURE= YES USE_TOOLS+= lex TEST_TARGET= check +.include "../../mk/bsd.prefs.mk" +.if !empty(LOWER_OPSYS:Mirix5*) +# needs regex.h +. include "../../pkgtools/libnbcompat/buildlink3.mk" +SUBST_CLASSES+= regex_h +SUBST_STAGE.regex_h= post-patch +SUBST_FILES.regex_h= checkgroup.c +SUBST_SED.regex_h= -e "s,,," +.endif .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3