summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhans <hans>2011-10-26 16:01:14 +0000
committerhans <hans>2011-10-26 16:01:14 +0000
commitcac69adc235e5e0630a62c9e5a0abf18245be8f1 (patch)
tree6cda4a753e8e321bc060f784caa277d98bc29c37 /mk
parentdc62f5b653543c3770ff34c9b9e73adf2414fbc0 (diff)
downloadpkgsrc-cac69adc235e5e0630a62c9e5a0abf18245be8f1.tar.gz
Add the minor number of the OS version to LOWER_OPSYS_VERSUFFIX.
Configure scripts tend to use it to distinguish different SunOS versions.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index d55ba11eb27..e0c37b7bd36 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.317 2011/10/15 00:23:08 reed Exp $
+# $NetBSD: bsd.prefs.mk,v 1.318 2011/10/26 16:01:14 hans Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -277,7 +277,7 @@ MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH:Q}
. endif
LOWER_VENDOR?= sun
LOWER_OPSYS?= solaris
-LOWER_OPSYS_VERSUFFIX= 2
+LOWER_OPSYS_VERSUFFIX= 2.${OS_VERSION:C/5.//}
.elif !defined(LOWER_OPSYS)
LOWER_OPSYS:= ${OPSYS:tl}