Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2015 19:24:47 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r392507 - head/Mk/Uses
Message-ID:  <20150719172447.GF50618@ivaldir.etoilebsd.net>
In-Reply-To: <wpxw-m8tx-wny@FreeBSD.org>
References:  <201507191436.t6JEa09F002291@repo.freebsd.org> <wpxw-m8tx-wny@FreeBSD.org>

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

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

On Sun, Jul 19, 2015 at 06:05:30PM +0200, Jan Beich wrote:
> Baptiste Daroussin <bapt@FreeBSD.org> writes:
>=20
> >   localbase: mostly a non user one which enforce the compiler related f=
lags to
> >              lookup in localbase first to find libraries, designed to b=
e used in
> >              other USES
> [...]
> > +.if !defined(_INCLUDE_USES_LOCALBASE_MK)
> > +_INCLUDE_USES_LOCALBASE_MK=3D	yes
> > +
> > +CPPFLAGS+=3D	-I${LOCALBASE}/include
>=20
> Better use -isystem to avoid accidentally picking up system headers over
> bundled ones like often happens when a port bundles ffmpeg.
>=20

The problem with -isystem is that it will have maby fallouts. and that it is
really not designed for that (for instance it would break any effort on cro=
ss
building).

Best regards,
Bapt

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlWr3V8ACgkQ8kTtMUmk6EyUhQCfYgC1W55FTP3QuIykneKH98iq
PN8An1TkPS6v4QSd3QM8wBe6bghMn/Yo
=MipL
-----END PGP SIGNATURE-----

--bGR76rFJjkSxVeRa--



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