aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-15 21:24:42 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-15 21:24:42 +0000
commitecf8298ab7bba40963efc59896ccaa40d325dacf (patch)
tree61d3e114cde72c29b63d58cd51b1f1eb7eabedf8 /Mk
parent10af8cf6918fdd2fb987d4b303b4d81ff3573da0 (diff)
downloadports-ecf8298ab7bba40963efc59896ccaa40d325dacf.tar.gz
ports-ecf8298ab7bba40963efc59896ccaa40d325dacf.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/localbase.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/Uses/localbase.mk b/Mk/Uses/localbase.mk
index 5e2873656a94..8f0c3c61db0a 100644
--- a/Mk/Uses/localbase.mk
+++ b/Mk/Uses/localbase.mk
@@ -11,9 +11,9 @@
.if !defined(_INCLUDE_USES_LOCALBASE_MK)
_INCLUDE_USES_LOCALBASE_MK= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-CFLAGS+= -I${LOCALBASE}/include
-CXXFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -isystem ${LOCALBASE}/include
+CFLAGS+= -isystem ${LOCALBASE}/include
+CXXFLAGS+= -isystem ${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
# Use CONFIGURE_ENV instead of CMAKE_ARGS because devel/cmake itself also needs