From owner-svn-ports-head@freebsd.org Sun Jul 19 17:24:53 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C2459A60D5; Sun, 19 Jul 2015 17:24:53 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C578F11D4; Sun, 19 Jul 2015 17:24:52 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wibud3 with SMTP id ud3so79027600wib.0; Sun, 19 Jul 2015 10:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=BQ0nSz4cUuNb3UCBUlgcmSk4NKhFjjdPOa5C2GCIM4s=; b=u+B6CXPg4LyYzh36SN6BxLXs6B+ph7Moa1NaJuOmMNeD2DBQeD0mwSz6Sybf1vJUMG kbW9Q5WJdhbXYvqw3OwluBw9rvfQ05jDlnxLF28RhHBml75X/JfoLSGGGq0NWXhkiXxy 7Cb0wsftPleEmjah2m8XBYe1+Itwa7Gd4hDIshMvfnok+gdpA3+qIIWInnVvjP3f6yGY cHX+hDnlbpAhQ88FfIjFOzKKqSpk1J+bzt5LyvIFlSXYcEd2rwARegkWruKiF0efrS+F CvBD5enLls41IkTPBdWYxOpKdR411nk7k90h5SHyoIbthgk+aej2T6c4rNJstaYnyJTi nmSA== X-Received: by 10.180.84.230 with SMTP id c6mr14233108wiz.32.1437326690655; Sun, 19 Jul 2015 10:24:50 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id qq1sm28026651wjc.0.2015.07.19.10.24.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jul 2015 10:24:49 -0700 (PDT) Sender: Baptiste Daroussin Date: Sun, 19 Jul 2015 19:24:47 +0200 From: Baptiste Daroussin To: Jan Beich 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> References: <201507191436.t6JEa09F002291@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bGR76rFJjkSxVeRa" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2015 17:24:53 -0000 --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 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--