Subject: pkg/37586: yacc/lex problems under Linux again
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cheusov@tut.by>
List: pkgsrc-bugs
Date: 12/21/2007 16:50:09
>Number:         37586
>Category:       pkg
>Synopsis:       yacc/lex problems under Linux again
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 21 16:50:09 +0000 2007
>Originator:     Aleksey Cheusov
>Release:        Linux
>Organization:
home
>Environment:
>Description:
Some packages require lex to be built.

>How-To-Repeat:

>Fix:
patch1
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	21 Dec 2007 13:40:07 -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




patch2
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	21 Dec 2007 13:40:16 -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}





patch3
Index: www/wwwoffle/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/wwwoffle/Makefile,v
retrieving revision 1.70
diff -u -r1.70 Makefile
--- www/wwwoffle/Makefile	2 Dec 2007 11:46:47 -0000	1.70
+++ www/wwwoffle/Makefile	21 Dec 2007 13:41:14 -0000
@@ -10,7 +10,7 @@
 HOMEPAGE=	http://www.gedanken.demon.co.uk/wwwoffle/
 COMMENT=	WWW proxy with support for offline browsing
 
-USE_TOOLS+=	gmake gzip perl tar
+USE_TOOLS+=	gmake gzip perl tar lex
 GNU_CONFIGURE=	yes
 
 CONFIGURE_ARGS+= --with-confdir=${PKG_SYSCONFDIR:Q}




patch4
Index: cross/avrdude/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/cross/avrdude/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- cross/avrdude/Makefile	2 Dec 2007 08:32:24 -0000	1.20
+++ cross/avrdude/Makefile	21 Dec 2007 13:39:15 -0000
@@ -16,7 +16,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 GNU_CONFIGURE=		yes
-USE_TOOLS+=		autoconf automake makeinfo texi2html yacc
+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