Bison 1 and 2

Ion-Mihai IOnut Tetcu itetcu at FreeBSD.org
Mon Jul 3 09:51:32 UTC 2006


On Mon, 3 Jul 2006 11:17:02 +0200
hans at lambermont.dyndns.org (Hans Lambermont) wrote:

> 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 ?

If yes, let follow the rest of USE_*, and have USE_BISON= version and
default to 2 if USE_BISON=yes.


-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

		-- The Gorn, "Arena", stardate 3046.2


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060703/18028787/signature.pgp


More information about the freebsd-ports mailing list