diff options
author | tnn <tnn@pkgsrc.org> | 2008-01-16 03:16:39 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-01-16 03:16:39 +0000 |
commit | a970f2bc5807e120532e67b62e8a05fca1126540 (patch) | |
tree | 9c1df167d7197f87d482f765be22d8cff655f6b6 /mk | |
parent | 3923838b90d39d7eac10fdca15aea0f4a945127f (diff) | |
download | pkgsrc-a970f2bc5807e120532e67b62e8a05fca1126540.tar.gz |
Provide a mechanism for enabling use of pkgtools/posix_headers.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.prefs.mk | 8 | ||||
-rw-r--r-- | mk/defaults/mk.conf | 8 | ||||
-rw-r--r-- | mk/platform/HPUX.mk | 5 |
3 files changed, 18 insertions, 3 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 diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf index ee7aa64f508..06c7aaff997 100644 --- a/mk/defaults/mk.conf +++ b/mk/defaults/mk.conf @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf,v 1.170 2008/01/05 17:21:46 tron Exp $ +# $NetBSD: mk.conf,v 1.171 2008/01/16 03:16:40 tnn Exp $ # # This file provides default values for variables that may be overridden @@ -355,6 +355,12 @@ FETCH_CMD?= /usr/bin/ftp # Default: NetBSD's ftp(1). # Possible: any. +#FIX_SYSTEM_HEADERS= +# Make pkgtools/posix_headers an automatic build dependency for all +# packages except those in the pkgtools category. +# Possible: "yes", not defined +# Default: not defined + LIBTOOLIZE_PLIST?= yes # This determines whether to expand libtool archives (.la files) in PLISTs # into the represented library names. diff --git a/mk/platform/HPUX.mk b/mk/platform/HPUX.mk index add6c172935..eb6f0821291 100644 --- a/mk/platform/HPUX.mk +++ b/mk/platform/HPUX.mk @@ -1,4 +1,4 @@ -# $NetBSD: HPUX.mk,v 1.12 2008/01/15 22:37:49 tnn Exp $ +# $NetBSD: HPUX.mk,v 1.13 2008/01/16 03:16:40 tnn Exp $ # # Variable definitions for the HP-UX operating system. @@ -31,6 +31,9 @@ ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m` # is unlikely to ever be supported due to proprietary graphics hardware. X11_TYPE?= modular +# Fix broken system headers by using pkgtools/posix_headers +FIX_SYSTEM_HEADERS?= yes + # imake installs manpages in weird places # these values from /usr/X11R6/lib/X11/config/NetBSD.cf IMAKE_MAN_SOURCE_PATH= man/cat |