summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-02-10 21:35:36 +0000
committerhubertf <hubertf@pkgsrc.org>1999-02-10 21:35:36 +0000
commitabb3fd7ca0dabd815aa424f9b30007d274cc3523 (patch)
tree408c8db9541497fed8c81b69a5e2cef49c77ae43 /mk
parent4214c9b9f3aca0448755715492ca194b44f05139 (diff)
downloadpkgsrc-abb3fd7ca0dabd815aa424f9b30007d274cc3523.tar.gz
NETBSD_CURRENT is not only used for finding out abouth UVM, but also for the
OBJECT_FMT, thanks to Thorsten Frueauf for finding this. (The error only showed up if you defined UVM in mk.conf on a -current system)
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.own.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.own.mk b/mk/bsd.own.mk
index 293615093f6..e98e9a8afa3 100644
--- a/mk/bsd.own.mk
+++ b/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.10 1999/02/09 15:44:52 hubertf Exp $
+# $NetBSD: bsd.own.mk,v 1.11 1999/02/10 21:35:36 hubertf Exp $
# From: NetBSD: bsd.own.mk,v 1.113 1999/02/07 17:21:09 hubertf Exp
.if !defined(_BSD_OWN_MK_)
@@ -79,9 +79,10 @@ STRIPFLAG?= -s
# The NETBSD_CURRENT checks are to make sure that UVM is defined only
# if the user is running a NetBSD-current, as well as the right platform
# I'm told that 1.3C was the first version with UVM XXX - agc
-.if !defined(UVM)
+# It's also used to find out about SHLIB_TYPE.
NETBSD_CURRENT!= /usr/bin/uname -r | /usr/bin/sed -e 's|^1\.3[C-Z]$$|yes|'
+.if !defined(UVM)
.if (${NETBSD_CURRENT} == "yes")
# Systems on which UVM is the standard VM system.
.if (${MACHINE} != "pica")