summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-10-26 16:01:14 +0000
committerhans <hans@pkgsrc.org>2011-10-26 16:01:14 +0000
commit48aa22794a3a188b12269609b245e880d45f6def (patch)
tree6cda4a753e8e321bc060f784caa277d98bc29c37 /mk/bsd.prefs.mk
parent66d48ba9c042b0168b85f63f70a244e6d6a4466c (diff)
downloadpkgsrc-48aa22794a3a188b12269609b245e880d45f6def.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/bsd.prefs.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}