summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 94bf42d46b5..f8b16dbc437 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.58 2001/08/24 09:00:44 abs Exp $
+# $NetBSD: bsd.prefs.mk,v 1.59 2001/09/18 21:30:06 agc Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -93,6 +93,15 @@ LOWER_ARCH?= ${MACHINE_GNU_ARCH}
MACHINE_PLATFORM?= ${OPSYS}-${OS_VERSION}-${MACHINE_ARCH}
MACHINE_GNU_PLATFORM?= ${LOWER_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS}
+# include the defaults file
+.if exists(${.CURDIR}/../../mk/bsd.pkg.defaults.mk)
+.include "${.CURDIR}/../../mk/bsd.pkg.defaults.mk"
+.elif exists(${.CURDIR}/../mk/bsd.pkg.defaults.mk)
+.include "${.CURDIR}/../mk/bsd.pkg.defaults.mk"
+.elif exists(${.CURDIR}/mk/bsd.pkg.defaults.mk)
+.include "${.CURDIR}/mk/bsd.pkg.defaults.mk"
+.endif
+
# Needed on NetBSD and SunOS (zoularis) to prevent an "install:" target
# from being created in bsd.own.mk.
NEED_OWN_INSTALL_TARGET=no