summaryrefslogtreecommitdiff
path: root/mk/bsd.fast.prefs.mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-05 14:28:38 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-05 14:28:38 +0000
commit15f3a36f40de9efbe6e15447eda073fc90146b0d (patch)
tree362c98503373b17d73923245f43626777e214928 /mk/bsd.fast.prefs.mk
parentfc787407d9c710f5f396ed7abcce533118896c34 (diff)
downloadpkgsrc-15f3a36f40de9efbe6e15447eda073fc90146b0d.tar.gz
Add an alternative version of bsd.prefs.mk. make(1) processing of
the fullly conditionalised bsd.prefs.mk still needs a considerable amount of time and moving the include guard out kills most of that. Preliminary tests with renaming bsd.prefs.mk and using the same logic to point to the real files show 5%-10% reduced run time for "make show-options" in x11/kdebase3 and no measurable regression in simpler places. This versions allows incremental conversion of the use in buildlink3.mk. Some care should be used in mk/ itself, as e.g. bsd.pkg.mk is included from first level hierachies as well.
Diffstat (limited to 'mk/bsd.fast.prefs.mk')
-rw-r--r--mk/bsd.fast.prefs.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/mk/bsd.fast.prefs.mk b/mk/bsd.fast.prefs.mk
new file mode 100644
index 00000000000..6da9f9b2189
--- /dev/null
+++ b/mk/bsd.fast.prefs.mk
@@ -0,0 +1,8 @@
+# $NetBSD: bsd.fast.prefs.mk,v 1.1 2006/11/05 14:28:38 joerg Exp $
+#
+# Conditionally include mk/bsd.prefs.mk, if it wasn't processed already.
+#
+
+.if !defined(BSD_PKG_MK)
+.include "../../mk/bsd.prefs.mk"
+.endif