pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/news/cg added support for IRIX 5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d5a41a537ee
branches:  trunk
changeset: 520383:7d5a41a537ee
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Fri Oct 20 19:18:45 2006 +0000

description:
added support for IRIX 5

diffstat:

 news/cg/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r f556ec140f82 -r 7d5a41a537ee news/cg/Makefile
--- a/news/cg/Makefile  Fri Oct 20 17:07:24 2006 +0000
+++ b/news/cg/Makefile  Fri Oct 20 19:18:45 2006 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index