Bison 1 and 2
Hans Lambermont
hans at lambermont.dyndns.org
Mon Jul 3 09:17:03 UTC 2006
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
More information about the freebsd-ports
mailing list