pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/exctags The use of "__unused__" conflicts with u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32fc4e1de08d
branches:  trunk
changeset: 486627:32fc4e1de08d
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Dec 30 21:59:17 2004 +0000

description:
The use of "__unused__" conflicts with usage in recent NetBSD-current
header files so rename all occurances to something that doesnt.

diffstat:

 devel/exctags/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r a7b249ca3501 -r 32fc4e1de08d devel/exctags/Makefile
--- a/devel/exctags/Makefile    Thu Dec 30 21:58:25 2004 +0000
+++ b/devel/exctags/Makefile    Thu Dec 30 21:59:17 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/06/03 15:20:59 uebayasi Exp $
+# $NetBSD: Makefile,v 1.11 2004/12/30 21:59:17 markd Exp $
 #
 
 DISTNAME=      ctags-5.5.4
@@ -31,4 +31,10 @@
        -e 's|"etags|"exetags|g' \
        -e 's|/usr/local|${LOCALBASE}|g'
 
+SUBST_CLASSES+=                rename
+SUBST_STAGE.rename=    post-patch
+SUBST_FILES.rename=    c.c eiffel.c general.h lregex.c lua.c main.c \
+                       options.c parse.c routines.c
+SUBST_SED.rename=      -e 's|__unused__|__unused_|g'
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index