Subject: Re: patches for pkgsrc (yacc and lex tools)
To: Roland Illig <rillig@NetBSD.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: pkgsrc-users
Date: 12/06/2007 23:57:55
--=-=-=

> Aleksey Cheusov wrote:
 >> New portion of yacc/lex patches

> Committed. Thanks for the patch.

yacc/lex patches again


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=Makefile_yacc_lex.patch
Content-Description: yacc/lex patches for Linux and others

Index: audio/nas/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/nas/Makefile,v
retrieving revision 1.78
diff -u -r1.78 Makefile
--- audio/nas/Makefile	10 Nov 2007 02:41:34 -0000	1.78
+++ audio/nas/Makefile	6 Dec 2007 15:33:53 -0000
@@ -18,7 +18,7 @@
 MAKE_JOBS_SAFE=		no
 
 WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
-USE_TOOLS+=		gmake
+USE_TOOLS+=		gmake yacc lex
 USE_IMAKE=		yes
 
 PKG_SYSCONFSUBDIR=	nas
Index: cross/avrdude/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/cross/avrdude/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- cross/avrdude/Makefile	28 Sep 2007 21:11:49 -0000	1.19
+++ cross/avrdude/Makefile	6 Dec 2007 15:34:15 -0000
@@ -16,7 +16,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 GNU_CONFIGURE=		yes
-USE_TOOLS+=		autoconf automake makeinfo texi2html
+USE_TOOLS+=		autoconf automake makeinfo texi2html yacc lex
 INFO_FILES=		yes
 EGDIR=			${PREFIX}/share/examples/avrdude
 CONF_FILES=		${EGDIR}/avrdude.conf ${PKG_SYSCONFDIR}/avrdude.conf
Index: devel/lcc/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/lcc/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- devel/lcc/Makefile	7 Jan 2007 09:13:51 -0000	1.11
+++ devel/lcc/Makefile	6 Dec 2007 15:34:24 -0000
@@ -8,6 +8,7 @@
 HOMEPAGE=	http://www.cs.princeton.edu/software/lcc/
 COMMENT=	Local ANSI C compiler for a variety of platforms
 
+USE_TOOLS+=	yacc
 MAKE_ENV+=	BUILDDIR=${WRKSRC}/bin HOSTFILE=etc/netbsd.c
 
 # it builds and runs on others (like alpha) but still
Index: games/nethack-lib/Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/games/nethack-lib/Makefile.common,v
retrieving revision 1.23
diff -u -r1.23 Makefile.common
--- games/nethack-lib/Makefile.common	22 Feb 2007 19:26:30 -0000	1.23
+++ games/nethack-lib/Makefile.common	6 Dec 2007 15:34:47 -0000
@@ -19,7 +19,7 @@
 WRKSRC=			${WRKDIR}/nethack-${NETHACK_BASEVER}
 HAS_CONFIGURE=		yes
 CONFIGURE_SCRIPT=	./sys/unix/setup.sh
-USE_TOOLS+=		gzip
+USE_TOOLS+=		gzip yacc lex
 
 .include "../../mk/bsd.prefs.mk"
 
Index: mail/milter-regex/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/milter-regex/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- mail/milter-regex/Makefile	7 Jan 2007 09:13:58 -0000	1.14
+++ mail/milter-regex/Makefile	6 Dec 2007 15:35:14 -0000
@@ -9,6 +9,7 @@
 HOMEPAGE=	http://www.benzedrine.cx/milter-regex.html
 COMMENT=	Milter enabling regular expression filtering
 
+USE_TOOLS+=		yacc
 INSTALLATION_DIRS=	${PKGMANDIR}/man8 sbin
 
 PKG_GROUPS=		smmsp
Index: math/xeukleides/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/xeukleides/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- math/xeukleides/Makefile	4 Oct 2006 21:47:58 -0000	1.16
+++ math/xeukleides/Makefile	6 Dec 2007 15:35:17 -0000
@@ -15,7 +15,7 @@
 
 USE_X11BASE=	yes
 BUILD_TARGET=	xeukleides
-USE_TOOLS+=	gmake
+USE_TOOLS+=	gmake flex
 
 .include "../../x11/gtk/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: multimedia/gstreamer0.8/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/gstreamer0.8/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- multimedia/gstreamer0.8/Makefile	21 Sep 2007 13:04:07 -0000	1.13
+++ multimedia/gstreamer0.8/Makefile	6 Dec 2007 15:35:28 -0000
@@ -19,7 +19,7 @@
 GNU_CONFIGURE=		yes
 USE_PKGLOCALEDIR=	yes
 USE_LIBTOOL=		yes
-USE_TOOLS+=		gmake perl pkg-config
+USE_TOOLS+=		gmake perl pkg-config flex
 
 CONFIGURE_ARGS+=	--disable-plugin-builddir
 CONFIGURE_ARGS+=	--localstatedir=${GST0.8_DBDIR}
Index: net/csup/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/csup/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- net/csup/Makefile	12 Jul 2007 06:11:54 -0000	1.2
+++ net/csup/Makefile	6 Dec 2007 15:35:34 -0000
@@ -10,7 +10,7 @@
 HOMEPAGE=	http://www.mu.org/~mux/csup.html
 COMMENT=	Rewrite of the CVSup file updating client in C
 
-USE_TOOLS+=	yacc
+USE_TOOLS+=	lex yacc
 WRKSRC=		${WRKDIR}/csup
 
 INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
Index: net/irrd/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/irrd/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- net/irrd/Makefile	11 Nov 2007 23:58:30 -0000	1.39
+++ net/irrd/Makefile	6 Dec 2007 15:35:38 -0000
@@ -14,7 +14,7 @@
 DEPENDS+=	gnupg-[0-9]*:../../security/gnupg
 DEPENDS+=	wget-[0-9]*:../../net/wget
 
-USE_TOOLS+=		automake flex perl:run
+USE_TOOLS+=		automake flex perl:run yacc
 
 WRKSRC=			${WRKDIR}/${DISTNAME}/src
 
Index: net/spreadlogd/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/spreadlogd/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- net/spreadlogd/Makefile	16 Aug 2007 09:27:05 -0000	1.2
+++ net/spreadlogd/Makefile	6 Dec 2007 15:35:44 -0000
@@ -13,7 +13,7 @@
 COMMENT=	Daemon to log to file, messages from spread toolkit clients
 
 GNU_CONFIGURE=	yes
-USE_TOOLS+=	perl
+USE_TOOLS+=	perl yacc
 WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
 
 RCD_SCRIPTS=	spreadlogd
--- news/trn/Makefile	22 Feb 2007 19:27:02 -0000	1.28
+++ news/trn/Makefile	6 Dec 2007 15:35:44 -0000
@@ -27,7 +27,7 @@
 CONFIGURE_SCRIPT=	./Configure
 CONFIGURE_ENV+=		PREFIX=${PREFIX:Q}
 USE_TOOLS+=		awk basename cat cp diff echo egrep expr grep mkdir mv
-USE_TOOLS+=		perl:run rm sed tail tr
+USE_TOOLS+=		perl:run rm sed tail tr yacc
 CONFIGURE_ENV+=		TOOLS_AWK=${TOOLS_AWK:Q}
 CONFIGURE_ENV+=		TOOLS_BASENAME=${TOOLS_BASENAME:Q}
 CONFIGURE_ENV+=		TOOLS_CAT=${TOOLS_CAT:Q}
Index: security/pscan/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/pscan/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- security/pscan/Makefile	4 Mar 2006 21:30:37 -0000	1.7
+++ security/pscan/Makefile	6 Dec 2007 15:36:00 -0000
@@ -11,6 +11,8 @@
 
 BUILD_TARGET=	pscan
 
+USE_TOOLS+=	lex
+
 INSTALLATION_DIRS=	bin
 
 do-install:
Index: shells/es/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/shells/es/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- shells/es/Makefile	4 Aug 2007 12:33:45 -0000	1.20
+++ shells/es/Makefile	6 Dec 2007 15:36:02 -0000
@@ -10,6 +10,8 @@
 HOMEPAGE=	http://hawkwind.cs.toronto.edu:8001/mlists/es.html
 COMMENT=	Extensible shell, derived from plan9's rc
 
+USE_TOOLS+=	yacc
+
 PKG_SHELL=	bin/es
 
 SUBST_CLASSES=		path
Index: time/plan/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/time/plan/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- time/plan/Makefile	28 Apr 2007 15:20:43 -0000	1.27
+++ time/plan/Makefile	6 Dec 2007 15:36:35 -0000
@@ -9,6 +9,7 @@
 COMMENT=	Schedule planner based on X/Motif
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
+USE_TOOLS+=	yacc lex
 USE_X11BASE=	YES
 BUILD_TARGET=	${LOWER_OPSYS}
 
Index: wm/amiwm/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/wm/amiwm/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- wm/amiwm/Makefile	31 Jul 2007 10:35:09 -0000	1.19
+++ wm/amiwm/Makefile	6 Dec 2007 15:36:35 -0000
@@ -16,7 +16,7 @@
 NO_SRC_ON_CDROM=	${RESTRICTED}
 NO_BIN_ON_CDROM=	${RESTRICTED}
 
-USE_TOOLS+=	ksh:run
+USE_TOOLS+=	ksh:run yacc lex
 REPLACE_KSH=	Xsession.in Xsession2.in
 
 .include "../../mk/bsd.prefs.mk"

--=-=-=


-- 
Best regards, Aleksey Cheusov.

--=-=-=--