Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2006 17:19:03 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Hans Lambermont <hans@lambermont.dyndns.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Bison 1 and 2
Message-ID:  <20060809211903.GA50741@xor.obsecurity.org>
In-Reply-To: <20060703091702.GA83125@leia.lambermont.dyndns.org>
References:  <20060703091702.GA83125@leia.lambermont.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 :
>=20
> =3D=3D=3D>  bison-1.75_2,1 conflicts with installed package(s):
>       bison-2.1_2
>=20
> In /usr/ports/Mk/bsd.port.mk I see for bison :
>=20
> .if defined(USE_BISON)
> BUILD_DEPENDS+=3D bison:${PORTSDIR}/devel/bison
> .endif
>=20
> I changed this into:
>=20
> .if defined(USE_BISON)
> BUILD_DEPENDS+=3D bison:${PORTSDIR}/devel/bison2
> .endif
>=20
> 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.
>=20
> 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


--EeQfGwPcQSOJBaQU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFE2lFHWry0BWjoQKURAns3AJ9sqQJ2KwvAjbcEPWYQWisLGftWPwCePpAk
rUPTCs5MGGZmV61kINbQJTM=
=2L/w
-----END PGP SIGNATURE-----

--EeQfGwPcQSOJBaQU--



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