Bison 1 and 2
Kris Kennaway
kris at obsecurity.org
Wed Aug 9 21:19:05 UTC 2006
On Mon, Jul 03, 2006 at 11:17:02AM +0200, 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 ?
Last time I tried it everything built with bison 2 on i386 (with some
patches). I need to test it on other arches though - hopefully I'll
get to this in about a month. If all is well then we can just update
it globally.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060809/e7bf0274/attachment.pgp
More information about the freebsd-ports
mailing list