summaryrefslogtreecommitdiff
path: root/mk/platform
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-11-01 16:30:05 +0000
committertv <tv@pkgsrc.org>2005-11-01 16:30:05 +0000
commitb1d81c0a1726e7a382d62d8b039c4523714e9e3a (patch)
treeb27482d548fea865c79b953c4e82902edfbe5187 /mk/platform
parent14c2d04bdd274f84f92275464851ffe62aca8c1a (diff)
downloadpkgsrc-b1d81c0a1726e7a382d62d8b039c4523714e9e3a.tar.gz
Abstract [LOWER_]OS_VERSION into a ${...:sh} construct, so that other OS
blocks can override it without running the commands at all. Move Interix [LOWER_]OS_VERSION speedup hack into bsd.prefs.mk, since it must happen early at runtime. While here, speed up the OS_VERSION calculation slightly for OSF1.
Diffstat (limited to 'mk/platform')
-rw-r--r--mk/platform/Interix.mk11
1 files changed, 1 insertions, 10 deletions
diff --git a/mk/platform/Interix.mk b/mk/platform/Interix.mk
index b4e46295dcb..adda840292f 100644
--- a/mk/platform/Interix.mk
+++ b/mk/platform/Interix.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Interix.mk,v 1.43 2005/11/01 16:01:16 tv Exp $
+# $NetBSD: Interix.mk,v 1.44 2005/11/01 16:30:05 tv Exp $
#
# Variable definitions for the Interix operating system.
@@ -58,15 +58,6 @@ INSTALL?= ${PREFIX}/bin/install-sh
PAX?= ${PREFIX}/bin/pax
SED?= ${PREFIX}/bin/nbsed
-.if exists(/usr/lib/libc.so.3.5)
-OS_VERSION?= 3.5
-.elif exists(/usr/lib/libc.so.3.1)
-OS_VERSION?= 3.1
-.else
-OS_VERSION?= 3.0
-.endif
-LOWER_OS_VERSION?= ${OS_VERSION}
-
GCC_USE_SYMLINKS?= yes
WRAPPER_DEBUG?= no