summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-01-16 03:16:39 +0000
committertnn <tnn@pkgsrc.org>2008-01-16 03:16:39 +0000
commita970f2bc5807e120532e67b62e8a05fca1126540 (patch)
tree9c1df167d7197f87d482f765be22d8cff655f6b6 /mk/bsd.prefs.mk
parent3923838b90d39d7eac10fdca15aea0f4a945127f (diff)
downloadpkgsrc-a970f2bc5807e120532e67b62e8a05fca1126540.tar.gz
Provide a mechanism for enabling use of pkgtools/posix_headers.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index c9eb0eee5a4..6246223fc2e 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.275 2008/01/12 14:40:21 joerg Exp $
+# $NetBSD: bsd.prefs.mk,v 1.276 2008/01/16 03:16:39 tnn Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -504,6 +504,12 @@ USE_XPKGWEDGE= no
USE_XPKGWEDGE?= yes
.endif
+.if defined(FIX_SYSTEM_HEADERS) && ${FIX_SYSTEM_HEADERS} == "yes" && \
+ empty(PKGPATH:Mpkgtools/*) && empty(PKGPATH:M*/nbsed) && \
+ empty(PKGPATH:M*/nawk) && empty(PKGPATH:M*/bmake)
+. include "../../pkgtools/posix_headers/buildlink3.mk"
+.endif
+
.if ${X11_TYPE} == "modular"
X11BASE= ${LOCALBASE}
.endif