pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/anjuta Rename "__unused__" to avoid name clash.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f8568b9d70ee
branches:  trunk
changeset: 486645:f8568b9d70ee
user:      markd <markd%pkgsrc.org@localhost>
date:      Fri Dec 31 12:09:51 2004 +0000

description:
Rename "__unused__" to avoid name clash.
>From PR 28792

diffstat:

 devel/anjuta/Makefile |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r dab436b68dd3 -r f8568b9d70ee devel/anjuta/Makefile
--- a/devel/anjuta/Makefile     Fri Dec 31 12:03:48 2004 +0000
+++ b/devel/anjuta/Makefile     Fri Dec 31 12:09:51 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2004/10/03 00:13:24 tv Exp $
+# $NetBSD: Makefile,v 1.26 2004/12/31 12:09:51 markd Exp $
 #
 
 DISTNAME=              anjuta-1.2.2
@@ -35,6 +35,16 @@
 SUBST_FILES.make+=     src/defaults.c
 SUBST_SED.make=                -e 's|make=make|make=${GMAKE}|'
 
+SUBST_CLASSES+=                unused
+SUBST_STAGE.unused=    pre-configure
+SUBST_MESSAGE.unused=  "Fixing __unused__ occurrances to avoid name clash"
+SUBST_FILES.unused=    tagmanager/c.c tagmanager/ctags.c tagmanager/general.h 
+SUBST_FILES.unused+=   tagmanager/lua.c tagmanager/options.c tagmanager/parse.c
+SUBST_FILES.unused+=   tagmanager/parse.h tagmanager/regex.c 
+SUBST_FILES.unused+=   tagmanager/tm_file_entry.c tagmanager/tm_project.c 
+SUBST_FILES.unused+=   tagmanager/tm_source_file.c tagmanager/tm_workspace.c
+SUBST_SED.unused=      -e 's/__unused__/_exctags_unused_/g'
+
 .include "../../devel/pcre/buildlink3.mk"
 .include "../../devel/pkgconfig/buildlink3.mk"
 .include "../../textproc/scrollkeeper/omf.mk"



Home | Main Index | Thread Index | Old Index