pkgsrc/mk/bsd.fast.prefs.mk
joerg 15f3a36f40 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.
2006-11-05 14:28:38 +00:00

8 lines
210 B
Makefile

# $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