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 
<> wrote:

The following change seems to fix that:

Index: mk/tools/
RCS file: /cvsroot/pkgsrc/mk/tools/,v
retrieving revision 1.30
diff -u -r1.30
--- mk/tools/     11 Sep 2008 23:00:31 -0000      1.30
+++ mk/tools/     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

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 /

Home | Main Index | Thread Index | Old Index