Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2006 11:17:02 +0200
From:      hans@lambermont.dyndns.org (Hans Lambermont)
To:        freebsd-ports@freebsd.org
Subject:   Bison 1 and 2
Message-ID:  <20060703091702.GA83125@leia.lambermont.dyndns.org>

next in thread | raw e-mail | index | archive | help
While upgrading vlc-0.8.4a_2 to vlc-0.8.5_2 I ran into :

===>  bison-1.75_2,1 conflicts with installed package(s):
      bison-2.1_2

In /usr/ports/Mk/bsd.port.mk I see for bison :

.if defined(USE_BISON)
BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison
.endif

I changed this into:

.if defined(USE_BISON)
BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison2
.endif

I'm aware that this can cause problem for those who depend on
features/syntax/whatever which is only found in bison'1'. My vlc
upgrade went fine with bison2.

What is the port manager's plan with bison1/2 ? Should we introduce
something like a 'USE_BISON_VERSION' (make.conf candidate) to extend
'USE_BISON' for ports that can use both versions and also split
'USE_BISON' into 'USE_BISON1' and 'USE_BISON2' for those who cannot ?

regards,
   Hans Lambermont



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060703091702.GA83125>