summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-11-29 00:53:13 +0000
committerjoerg <joerg@pkgsrc.org>2014-11-29 00:53:13 +0000
commit45ca1cd75048f53b4e0d9fe2a6a530e8140bcefc (patch)
treee23aacd78b63df74f45153c6d823a0e627df22ae /mk
parentd769e5209640db457c0a8ebdacbe45b67b975edf (diff)
downloadpkgsrc-45ca1cd75048f53b4e0d9fe2a6a530e8140bcefc.tar.gz
Temporarily increase compat with old wrappers and add
-I${PREFIX}/include.
Diffstat (limited to 'mk')
-rw-r--r--mk/cwrappers.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/cwrappers.mk b/mk/cwrappers.mk
index ba7b3a963b5..77f07753b63 100644
--- a/mk/cwrappers.mk
+++ b/mk/cwrappers.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cwrappers.mk,v 1.13 2014/11/29 00:51:56 joerg Exp $
+# $NetBSD: cwrappers.mk,v 1.14 2014/11/29 00:53:13 joerg Exp $
#
# This Makefile fragment implements integration of pkgtools/cwrappers.
@@ -44,6 +44,11 @@ CWRAPPERS_WRAPPEE.ld= ${LD:Ufalse}
CWRAPPERS_WRAPPEE.libtool= ${PKG_LIBTOOL:Ufalse}
CWRAPPERS_WRAPPEE.shlibtool= ${PKG_SHLIBTOOL:Ufalse}
+# TODO: Find and fix packages depending on the implicit include path.
+CWRAPPERS_APPEND.cc+= -I${PREFIX}/include
+CWRAPPERS_APPEND.cxx+= -I${PREFIX}/include
+CWRAPPERS_APPEND.cpp+= -I${PREFIX}/include
+
.if defined(USE_IMAKE) || !empty(USE_TOOLS:Mimake)
CWRAPPERS_TRANSFORM.imake+= I:${PREFIX}/lib/X11/config:${PREFIX}/lib/X11/config
.endif