Subject: pkg/36937: [Linux] x11/Xaw3d: Needs bison and flex to build which are not set via USE_TOOLS by the package Makefile
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lems@gmx.net>
List: pkgsrc-bugs
Date: 09/06/2007 12:50:00
>Number: 36937
>Category: pkg
>Synopsis: [Linux] x11/Xaw3d: Needs bison and flex to build which are not set via USE_TOOLS by the package Makefile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Sep 06 12:50:00 +0000 2007
>Originator: L. Schmidt
>Release:
>Organization:
>Environment:
Linux unruhe 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux
>Description:
Trying to build print/gv on Ubuntu Linux failed because of x11/Xaw3d not requiring bison and flex via USE_TOOLS. The fix is quite trivial.
>How-To-Repeat:
>Fix:
I added this to the Makefile and Xaw3d built without any problems.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/Xaw3d/Makefile,v
retrieving revision 1.51
diff -u -p -r1.51 Makefile
--- Makefile 27 Dec 2006 13:37:42 -0000 1.51
+++ Makefile 6 Sep 2007 12:34:42 -0000
@@ -16,6 +16,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgvie
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/xc/lib/Xaw3d
+USE_TOOLS+= bison flex
USE_IMAKE= YES
PLIST_SRC= ${WRKDIR}/PLIST-src