summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 326a7535e5f..888b96af1b0 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.982 2002/05/22 23:15:22 hubertf Exp $
+# $NetBSD: bsd.pkg.mk,v 1.983 2002/05/26 15:00:25 fredb Exp $
#
# This file is in the public domain.
#
@@ -30,6 +30,13 @@ MAKE_ENV+= MAKECONF=/dev/null
MAKE_ENV+= USETOOLS="${USETOOLS}"
.endif
+##### Some NetBSD platforms permitted the user to set the binary format while
+##### they were in the process of transitioning to ELF. Packages with BSD-style
+##### make systems need this setting to be passed in.
+.if defined(OBJECT_FMT)
+MAKE_ENV+= OBJECT_FMT="${OBJECT_FMT}"
+.endif
+
##### Build crypto packages by default.
MKCRYPTO?= yes