Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 21:58:14 -0600
From:      Brooks Davis <brooks@freebsd.org>
To:        Danilo Egea Gondolfo <danilo@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r345162 - head/devel/ccons
Message-ID:  <20140220035814.GA94224@lor.one-eyed-alien.net>
In-Reply-To: <201402192326.s1JNQ95R021875@svn.freebsd.org>
References:  <201402192326.s1JNQ95R021875@svn.freebsd.org>

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

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

On Wed, Feb 19, 2014 at 11:26:09PM +0000, Danilo Egea Gondolfo wrote:
> Author: danilo
> Date: Wed Feb 19 23:26:09 2014
> New Revision: 345162
> URL: http://svnweb.freebsd.org/changeset/ports/345162
> QAT: https://qat.redports.org/buildarchive/r345162/
>=20
> Log:
>   - Add libclang.so to LIB_DEPENDS
>=20
> Modified:
>   head/devel/ccons/Makefile
>=20
> Modified: head/devel/ccons/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/devel/ccons/Makefile	Wed Feb 19 22:31:37 2014	(r345161)
> +++ head/devel/ccons/Makefile	Wed Feb 19 23:26:09 2014	(r345162)
> @@ -3,6 +3,7 @@
> =20
>  PORTNAME=3D	ccons
>  PORTVERSION=3D	r251
> +PORTREVISION=3D	1
>  CATEGORIES=3D	devel
>  MASTER_SITES=3D	GOOGLE_CODE
> =20
> @@ -14,7 +15,8 @@ LICENSE_FILE=3D	${WRKSRC}/LICENSE
> =20
>  BUILD_DEPENDS=3D	llvm-config33:${PORTSDIR}/devel/llvm33 \
>  		clang++33:${PORTSDIR}/lang/clang33
> -LIB_DEPENDS=3D	libncurses.so:${PORTSDIR}/devel/ncurses
> +LIB_DEPENDS=3D	libncurses.so:${PORTSDIR}/devel/ncurses \
> +		libclang.so:${PORTSDIR}/lang/clang33

In practice I don't think will be a problem[0], but multiple ports provide
a libclang.so and they are not interoperable so you should depend on
something versioned.  For now I'd probably do

RUN_DEPENDS=3D	clang++33:${PORTSDIR}/lang/clang33

-- Brooks

[0] Packages will get the right dependency and the build dependency on
clang++33 will ensure it is installed in typical port setups.

--Q68bSM7Ycu6FN28Q
Content-Type: application/pgp-signature

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

iKYEARECAGYFAlMFfVZfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldDY1NUQ1MTlDMjZBNzgyRTcyNTI5OUJGMDVE
OEU4QkU5RjIzODFBRDQACgkQXY6L6fI4GtQ2TACeMatf1Mu6f/Z6bK4CHq+9kCJ+
1E4AoJW3rwGmRgYSsI1TYeqGKc/XZY2N
=dkOw
-----END PGP SIGNATURE-----

--Q68bSM7Ycu6FN28Q--



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