tech-pkg archive

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

Re: Circular dependence between "bison" and "gettext-tools" under Solaris



On Fri, 01 Jan 2010 02:31:47 +0900, Matthias Scheler 
<tron%zhadum.org.uk@localhost> wrote:

The following change seems to fix that:

Index: mk/tools/tools.SunOS.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/tools/tools.SunOS.mk,v
retrieving revision 1.30
diff -u -r1.30 tools.SunOS.mk
--- mk/tools/tools.SunOS.mk     11 Sep 2008 23:00:31 -0000      1.30
+++ mk/tools/tools.SunOS.mk     31 Dec 2009 17:30:45 -0000
@@ -113,3 +113,6 @@
 TOOLS_PLATFORM.tsort?=         /usr/ccs/bin/tsort
 TOOLS_PLATFORM.wc?=            /usr/bin/wc
 TOOLS_PLATFORM.xargs?=         /usr/bin/xargs
+.if exists(/usr/ccs/bin/yacc)
+TOOLS_PLATFORM.yacc?=          /usr/ccs/bin/yacc
+.endif

Is that the correct solution? There is of course the risk that
"/usr/ccs/bin/yacc" isn't good enough to build some random
other package.

If /usr/ccs/bin/yacc is confirmed in accordance with the standards,
above patch should be acceptable.
If some package are broken from the change, those packages are not
just using yacc, require some extensions (ex. bison).

--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index