From owner-svn-ports-head@freebsd.org Sun Jul 19 17:20:43 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 25E0A9A5EB8 for ; Sun, 19 Jul 2015 17:20:43 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from vfemail.net (ninezero.vfemail.net [96.30.253.190]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DCAE41E32 for ; Sun, 19 Jul 2015 17:20:42 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: (qmail 8284 invoked by uid 89); 19 Jul 2015 17:20:33 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 19 Jul 2015 17:20:33 -0000 Received: (qmail 72540 invoked by uid 89); 19 Jul 2015 16:06:00 -0000 Received: by simscan 1.3.1 ppid: 72532, pid: 72536, t: 0.1010s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 19 Jul 2015 16:06:00 -0000 Received: (qmail 2036 invoked by uid 89); 19 Jul 2015 16:06:00 -0000 Received: by simscan 1.4.0 ppid: 1988, pid: 2032, t: 0.6415s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by 172.16.100.62 with ESMTPA; 19 Jul 2015 16:05:59 -0000 From: Jan Beich To: Baptiste Daroussin Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r392507 - head/Mk/Uses References: <201507191436.t6JEa09F002291@repo.freebsd.org> Date: Sun, 19 Jul 2015 18:05:30 +0200 In-Reply-To: <201507191436.t6JEa09F002291@repo.freebsd.org> (Baptiste Daroussin's message of "Sun, 19 Jul 2015 14:36:00 +0000 (UTC)") Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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:20:43 -0000 --=-=-= Content-Type: text/plain Baptiste Daroussin writes: > localbase: mostly a non user one which enforce the compiler related flags to > lookup in localbase first to find libraries, designed to be used in > other USES [...] > +.if !defined(_INCLUDE_USES_LOCALBASE_MK) > +_INCLUDE_USES_LOCALBASE_MK= yes > + > +CPPFLAGS+= -I${LOCALBASE}/include Better use -isystem to avoid accidentally picking up system headers over bundled ones like often happens when a port bundles ffmpeg. > +CFLAGS+= -I${LOCALBASE}/include > +CXXFLAGS+= -I${LOCALBASE}include ^^ Typo: missing / (path separator). > +LDFLAGS+= -L${LOCALBASE}/lib > +.endif --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJVq8rLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bKXcH/1wTX3YKvKJuSTs9E0QwCShJ XmqCLtKSubdVbomtZJX25xQnxCMCYHgLLmB6S58tPg4iySpHT2C92qNDaGeRkKHj MRxOE8N0rTsNrfNoEq8L+17Gjw7q59ihiPyETGxW9s3hV9ap5nzeFYlFg5wR8keO fhM1sBhSlOdl57CKrFq/kr1Njtvh/UyC59Wz3K8MXaWnHCfneVS595A8ZwpBZWrP +GePjSA8tnNTyq/vmld0StoTWTAteFcBEAIfTYIdEbjcf3B8IhZc4F2QaNCyfXTo 0QkDPDiJtLd7yhmQWP5Y37E8WoFl1tLYfIxXRVejmLSMEm2Ej0DKOOJzvMmvruM= =NJtR -----END PGP SIGNATURE----- --=-=-=--