diff options
author | schwarz <schwarz> | 2006-10-20 19:18:45 +0000 |
---|---|---|
committer | schwarz <schwarz> | 2006-10-20 19:18:45 +0000 |
commit | ec453377c953e8294b5bd0822ef1df84bffda803 (patch) | |
tree | bc86c03e037547255f5119f731f4242b178181c1 /news/cg | |
parent | bdba6956be2ddb59c576e6c5fb83cc5bb25ddbab (diff) | |
download | pkgsrc-ec453377c953e8294b5bd0822ef1df84bffda803.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" |