diff options
author | schwarz <schwarz@pkgsrc.org> | 2006-10-20 19:18:45 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2006-10-20 19:18:45 +0000 |
commit | 0fcb68082b02b76fa6fe8fe85790c676d00e02fc (patch) | |
tree | bc86c03e037547255f5119f731f4242b178181c1 /news/cg | |
parent | 8638448dc2d4b0ec3123193b668946f6bc8119dd (diff) | |
download | pkgsrc-0fcb68082b02b76fa6fe8fe85790c676d00e02fc.tar.gz |
added support for IRIX 5
Diffstat (limited to 'news/cg')
-rw-r--r-- | news/cg/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
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,<regex\.h>,<nbcompat/regex.h>," +.endif .include "../../mk/bsd.pkg.mk" |