Subject: patches for pkgsrc (yacc and lex tools)
To: None <pkgsrc-users@NetBSD.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: pkgsrc-users
Date: 11/17/2007 12:34:00
--=-=-=

See the packages failures here

http://mova.org/~cheusov/pub/pkgsrc-pbulk/Debian-etch/current/log//20071112.1022/meta/report.html

and apply the following patches


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=pkgsrc_lex_yacc.patch
Content-Description: patches

Index: cad/covered/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/cad/covered/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- cad/covered/Makefile	12 Oct 2006 03:11:18 -0000	1.11
+++ cad/covered/Makefile	17 Nov 2007 09:08:14 -0000
@@ -16,7 +16,7 @@
 CONFLICTS+=	covered-current-[0-9]*
 
 GNU_CONFIGURE=	YES
-USE_TOOLS+=	bison gmake
+USE_TOOLS+=	bison gmake lex
 
 # we use this hack of setting a cache variable because
 # the configure script uses AC_PATH_PROG to try and find
Index: cad/covered-current/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/cad/covered-current/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- cad/covered-current/Makefile	22 Feb 2007 19:26:09 -0000	1.14
+++ cad/covered-current/Makefile	17 Nov 2007 09:08:14 -0000
@@ -18,7 +18,7 @@
 
 SNAPDATE=	20060904
 GNU_CONFIGURE=	YES
-USE_TOOLS+=	bison gmake
+USE_TOOLS+=	bison gmake lex
 
 # we use this hack of setting a cache variable because
 # the configure script uses AC_PATH_PROG to try and find
Index: comms/fidogate/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/comms/fidogate/Makefile,v
retrieving revision 1.58
diff -u -r1.58 Makefile
--- comms/fidogate/Makefile	29 Sep 2007 12:32:22 -0000	1.58
+++ comms/fidogate/Makefile	17 Nov 2007 09:08:15 -0000
@@ -10,7 +10,7 @@
 HOMEPAGE=	http://www.fidogate.org/
 COMMENT=	FidoNet (FTN) <-> Internet mail and news gateway
 
-USE_TOOLS+=		gmake makeinfo perl:run
+USE_TOOLS+=		gmake makeinfo perl:run yacc
 MAKE_ENV+=		DEBUG="${CFLAGS} -Werror"
 BUILDLINK_SETENV.CC=	CC="cc ${_STRIPFLAG_CC}"
 
Index: databases/unixodbc/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/databases/unixodbc/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- databases/unixodbc/Makefile	23 Jan 2006 20:50:47 -0000	1.18
+++ databases/unixodbc/Makefile	17 Nov 2007 09:08:16 -0000
@@ -7,7 +7,7 @@
 
 .include "../../databases/unixodbc/Makefile.common"
 
-USE_TOOLS+=		flex # to get libodbctxt.la
+USE_TOOLS+=		flex yacc # to get libodbctxt.la
 CONFIGURE_ARGS+=	--disable-gui
 
 PLIST_SUBST+=		UNIXODBC_DRIVERS_DIR=${UNIXODBC_DRIVERS_DIR:Q}
Index: devel/libjit/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libjit/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- devel/libjit/Makefile	8 Jun 2006 15:31:24 -0000	1.11
+++ devel/libjit/Makefile	17 Nov 2007 09:08:30 -0000
@@ -12,7 +12,7 @@
 
 USE_LANGUAGES=		c c++
 USE_LIBTOOL=		yes
-USE_TOOLS+=		gmake lex makeinfo
+USE_TOOLS+=		gmake lex yacc makeinfo
 GNU_CONFIGURE=		yes
 INFO_FILES=		# PLIST
 
Index: devel/opencm/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/opencm/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- devel/opencm/Makefile	2 Sep 2007 11:17:39 -0000	1.43
+++ devel/opencm/Makefile	17 Nov 2007 09:08:34 -0000
@@ -13,7 +13,7 @@
 COMMENT=	Secure, high-integrity replacement for CVS
 
 WRKSRC=		${WRKDIR}/${OPENCM_VERSION}/base
-USE_TOOLS+=	gmake gzip makeinfo
+USE_TOOLS+=	gmake gzip makeinfo lex
 GNU_CONFIGURE=	YES
 CONFIGURE_ARGS+=	--with-ssl-dir=${BUILDLINK_PREFIX.openssl}
 CONFIGURE_ARGS+=	KRB5_BUILDLINK=${KRB5BASE:Q}
Index: devel/rsltc/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/rsltc/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- devel/rsltc/Makefile	9 Sep 2006 02:41:58 -0000	1.7
+++ devel/rsltc/Makefile	17 Nov 2007 09:08:44 -0000
@@ -16,7 +16,7 @@
 DEPENDS+=		gentle>=97:../../devel/gentle
 
 MAKE_FILE=		make_sunos
-USE_TOOLS+=		gmake
+USE_TOOLS+=		gmake lex
 WRKSRC=			${WRKDIR}/rsl.2.4
 INSTALLATION_DIRS=	bin
 
Index: devel/treecc/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/treecc/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- devel/treecc/Makefile	17 Jun 2006 17:37:21 -0000	1.13
+++ devel/treecc/Makefile	17 Nov 2007 09:08:44 -0000
@@ -11,7 +11,7 @@
 COMMENT=	DotGNU Portable.NET aspect-oriented programming tool
 
 GNU_CONFIGURE=	yes
-USE_TOOLS+=	gmake lex makeinfo
+USE_TOOLS+=	gmake lex yacc makeinfo
 INFO_FILES=	yes
 
 .include "../../mk/bsd.pkg.mk"
Index: emulators/spim/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/spim/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- emulators/spim/Makefile	27 Dec 2006 13:37:36 -0000	1.32
+++ emulators/spim/Makefile	17 Nov 2007 09:08:45 -0000
@@ -20,7 +20,7 @@
 HAS_CONFIGURE=		yes
 CONFIGURE_SCRIPT=	./Configure
 USE_IMAKE=		yes
-USE_TOOLS+=		gzip lex
+USE_TOOLS+=		gzip lex yacc
 XMKMF=			${X11BASE}/bin/xmkmf # don't specify -a option
 
 BUILD_TARGET=		y.tab.c depend all
Index: emulators/twin/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/twin/Makefile,v
retrieving revision 1.28
diff -u -r1.28 Makefile
--- emulators/twin/Makefile	9 Feb 2007 15:15:49 -0000	1.28
+++ emulators/twin/Makefile	17 Nov 2007 09:08:45 -0000
@@ -15,7 +15,7 @@
 
 WRKSRC=			${WRKDIR}/twin
 GNU_CONFIGURE=		yes
-USE_TOOLS+=		gmake
+USE_TOOLS+=		gmake lex yacc
 BUILD_TARGET=		depend world
 CONFIGURE_ARGS+=	--enable-debugger
 
Index: graphics/aqsis/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/aqsis/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- graphics/aqsis/Makefile	22 Feb 2007 19:30:03 -0000	1.30
+++ graphics/aqsis/Makefile	17 Nov 2007 09:08:56 -0000
@@ -12,7 +12,7 @@
 
 GNU_CONFIGURE=		yes
 USE_LIBTOOL=		yes
-USE_TOOLS+=		gmake
+USE_TOOLS+=		gmake lex
 
 GCC_REQD+=		2.95.3
 USE_LANGUAGES=		c c++
Index: graphics/dx/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/dx/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- graphics/dx/Makefile	17 Jan 2007 23:47:20 -0000	1.42
+++ graphics/dx/Makefile	17 Nov 2007 09:08:57 -0000
@@ -11,7 +11,7 @@
 
 USE_LANGUAGES=		c c++
 USE_X11BASE=		yes
-USE_TOOLS+=		gmake lex sh
+USE_TOOLS+=		gmake lex yacc sh
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--without-javadx
 CONFIGURE_ENV+=		bsh_path=${TOOLS_SH:Q}
Index: graphics/geomview/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/geomview/Makefile,v
retrieving revision 1.37
diff -u -r1.37 Makefile
--- graphics/geomview/Makefile	21 May 2006 02:26:38 -0000	1.37
+++ graphics/geomview/Makefile	17 Nov 2007 09:08:58 -0000
@@ -9,6 +9,7 @@
 HOMEPAGE=		http://www.geomview.org/
 COMMENT=		Interactive geometry viewing program
 
+USE_TOOLS+=		lex
 USE_LANGUAGES=		c c++
 USE_X11BASE=		yes
 GNU_CONFIGURE=		yes
Index: mail/nmh/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/nmh/Makefile,v
retrieving revision 1.65
diff -u -r1.65 Makefile
--- mail/nmh/Makefile	16 Oct 2007 23:49:01 -0000	1.65
+++ mail/nmh/Makefile	17 Nov 2007 09:09:14 -0000
@@ -13,6 +13,8 @@
 CONFLICTS=		ja-mh-[0-9]*
 CONFLICTS+=		ja-mh6-[0-9]*
 
+USE_TOOLS+=		lex
+
 # We choose DOT_LOCKING in our patches because ".lock" files are
 # the most common locking mechanism supported by mail software.
 # It also works well over NFS.
Index: math/eukleides/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/eukleides/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- math/eukleides/Makefile	1 Aug 2007 21:17:45 -0000	1.15
+++ math/eukleides/Makefile	17 Nov 2007 09:09:14 -0000
@@ -13,7 +13,7 @@
 DEPENDS+=	pstoedit>=3.31:../../graphics/pstoedit
 
 BUILD_TARGET=	eukleides
-USE_TOOLS+=	bash:run bison gmake makeinfo
+USE_TOOLS+=	bash:run bison gmake makeinfo lex
 INFO_FILES=	# PLIST
 
 REPLACE_BASH=	euk2edit euk2eps
Index: net/bind8/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/bind8/Makefile,v
retrieving revision 1.38
diff -u -r1.38 Makefile
--- net/bind8/Makefile	10 Sep 2007 19:05:01 -0000	1.38
+++ net/bind8/Makefile	17 Nov 2007 09:09:35 -0000
@@ -10,6 +10,8 @@
 HOMEPAGE=	http://www.isc.org/sw/bind/
 COMMENT=	The Berkeley Internet Name Daemon, an implementation of DNS
 
+USE_TOOLS+=	lex yacc
+
 WRKSRC=		${WRKDIR}
 BIND_VERSION=	8.4.7
 DIST_SUBDIR=	bind/${BIND_VERSION}
Index: news/xrn/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/news/xrn/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- news/xrn/Makefile	27 Dec 2006 13:37:39 -0000	1.14
+++ news/xrn/Makefile	17 Nov 2007 09:09:44 -0000
@@ -15,6 +15,7 @@
 WRKSRC=		${WRKDIR}
 DIST_SUBDIR=	xrn
 
+USE_TOOLS+=	lex yacc
 USE_IMAKE=	yes
 
 pre-install:
Index: print/ghostscript/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/print/ghostscript/Makefile,v
retrieving revision 1.38
diff -u -r1.38 Makefile
--- print/ghostscript/Makefile	3 Nov 2007 22:39:40 -0000	1.38
+++ print/ghostscript/Makefile	17 Nov 2007 09:09:44 -0000
@@ -18,7 +18,7 @@
 
 DEPENDS+=		ghostscript-fonts>=6.0:../../fonts/ghostscript-fonts
 
-USE_TOOLS+=		gmake perl:run
+USE_TOOLS+=		gmake perl:run lex
 GNU_CONFIGURE=		yes
 MAKE_JOBS_SAFE=		no
 
Index: print/gimp-print/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/print/gimp-print/Makefile,v
retrieving revision 1.28
diff -u -r1.28 Makefile
--- print/gimp-print/Makefile	17 Apr 2006 13:46:46 -0000	1.28
+++ print/gimp-print/Makefile	17 Nov 2007 09:09:44 -0000
@@ -11,7 +11,7 @@
 
 CONFLICTS+=	gimp<=1.2.3
 
-USE_TOOLS+=		gmake
+USE_TOOLS+=		gmake lex
 USE_LIBTOOL=		yes
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--without-samples --without-user-guide
Index: print/gimp-print-cups/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/print/gimp-print-cups/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- print/gimp-print-cups/Makefile	17 Apr 2006 13:46:46 -0000	1.26
+++ print/gimp-print-cups/Makefile	17 Nov 2007 09:09:44 -0000
@@ -10,7 +10,7 @@
 HOMEPAGE=	http://gimp-print.sourceforge.net/
 COMMENT=	GIMP print plugin
 
-USE_TOOLS+=		gmake
+USE_TOOLS+=		gmake lex
 USE_LIBTOOL=		yes
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--enable-escputil=no --enable-libgimpprint=no
Index: print/gimp-print-escputil/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/print/gimp-print-escputil/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- print/gimp-print-escputil/Makefile	4 Mar 2006 21:30:28 -0000	1.22
+++ print/gimp-print-escputil/Makefile	17 Nov 2007 09:09:44 -0000
@@ -14,7 +14,7 @@
 BUILDLINK_DEPMETHOD.gimp-print-lib=	build
 CONFLICTS+=	gimp<=1.2.3
 
-USE_TOOLS+=		gmake
+USE_TOOLS+=		gmake lex
 USE_LIBTOOL=		yes
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--enable-libgimpprint=no
Index: print/gimp-print-ijs/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/print/gimp-print-ijs/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- print/gimp-print-ijs/Makefile	7 Jul 2006 19:03:01 -0000	1.21
+++ print/gimp-print-ijs/Makefile	17 Nov 2007 09:09:44 -0000
@@ -10,7 +10,7 @@
 COMMENT=	GIMP print IJS server
 
 USE_LIBTOOL=		yes
-USE_TOOLS+=		gmake
+USE_TOOLS+=		gmake lex
 
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--with-ijs
Index: print/teTeX3-bin/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/print/teTeX3-bin/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- print/teTeX3-bin/Makefile	15 Feb 2007 21:34:00 -0000	1.24
+++ print/teTeX3-bin/Makefile	17 Nov 2007 09:09:44 -0000
@@ -20,7 +20,7 @@
 
 INFO_FILES=	# PLIST
 
-USE_TOOLS+=	bison
+USE_TOOLS+=	bison lex
 REPLACE_PERL=	texk/xdvik/t1mapper \
 		texk/oxdvik/t1mapper
 
Index: security/sfs/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/sfs/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- security/sfs/Makefile	24 Nov 2006 23:04:14 -0000	1.29
+++ security/sfs/Makefile	17 Nov 2007 09:09:55 -0000
@@ -19,7 +19,7 @@
 CONFIGURE_ARGS+=	--disable-uvfs
 
 USE_LANGUAGES=		c c++
-USE_TOOLS+=		makeinfo perl:run
+USE_TOOLS+=		makeinfo perl:run lex
 
 INFO_FILES=		# PLIST
 
Index: textproc/dict-dictionaries/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/dict-dictionaries/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- textproc/dict-dictionaries/Makefile	22 Feb 2007 19:27:13 -0000	1.9
+++ textproc/dict-dictionaries/Makefile	17 Nov 2007 09:10:13 -0000
@@ -18,7 +18,7 @@
 
 DEPENDS+=	dict-server>=1.8.0nb1:../../textproc/dict-server
 
-USE_TOOLS+=	gmake
+USE_TOOLS+=	gmake lex yacc
 
 # Strip '.gz', strip '.tar'.
 DICTIONARIES=	${DISTFILES:R:R}
Index: wm/golem/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/wm/golem/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- wm/golem/Makefile	15 Jun 2007 17:44:45 -0000	1.25
+++ wm/golem/Makefile	17 Nov 2007 09:10:26 -0000
@@ -10,7 +10,7 @@
 HOMEPAGE=	http://golem.sourceforge.net/
 COMMENT=	Fast and lightweight yet customizable window manager
 
-USE_TOOLS+=	gmake
+USE_TOOLS+=	gmake yacc lex
 GNU_CONFIGURE=	YES
 
 CONFIGURE_ARGS+=	--enable-i18n
Index: www/ap-php/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/ap-php/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- www/ap-php/Makefile	2 Oct 2007 07:47:11 -0000	1.19
+++ www/ap-php/Makefile	17 Nov 2007 09:10:28 -0000
@@ -7,6 +7,8 @@
 
 CONFLICTS=		ap-php-[0-9]*
 
+USE_TOOLS+=		lex
+
 APACHE_MODULE=		YES
 
 .include "../../lang/php/phpversion.mk"
Index: www/ap2-suphp/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/ap2-suphp/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- www/ap2-suphp/Makefile	4 Jul 2007 20:55:02 -0000	1.11
+++ www/ap2-suphp/Makefile	17 Nov 2007 09:10:29 -0000
@@ -11,6 +11,7 @@
 HOMEPAGE=		http://www.suphp.org/
 COMMENT=		SuEXEC-like wrapper for PHP scripts
 
+USE_TOOLS+=		lex
 USE_PKGLOCALEDIR=	yes
 GNU_CONFIGURE=		yes
 USE_LANGUAGES=		c c++
Index: wip/cfengine/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/cfengine/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- wip/cfengine/Makefile	14 Nov 2007 23:04:04 -0000	1.10
+++ wip/cfengine/Makefile	17 Nov 2007 09:23:29 -0000
@@ -26,7 +26,7 @@
 # On netbsd flex=lex, so USE_TOOLS doesn't do anything.
 # But other platforms i.e. Solaris need this.
 
-USE_TOOLS+=		flex
+USE_TOOLS+=		flex yacc
 
 .if (empty(PKG_OPTIONS:Mcfengine-pthread))
 CONFIGURE_ARGS+= --without-pthreads

--=-=-=


-- 
Best regards, Aleksey Cheusov.

--=-=-=--