svn commit: r392507 - head/Mk/Uses
Jan Beich
jbeich at FreeBSD.org
Sun Jul 19 17:20:43 UTC 2015
Baptiste Daroussin <bapt at FreeBSD.org> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20150719/de4a53bd/attachment.bin>
More information about the svn-ports-all
mailing list