summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-07-19 14:29:16 +0000
committerryoon <ryoon@pkgsrc.org>2013-07-19 14:29:16 +0000
commitbdd4aa8a462e03c3c688bcaa96bbf96cc5b322e0 (patch)
tree5265f5339796308bfe86c9bab914a2a130b92826 /mk/bsd.prefs.mk
parent007bbe7a68f7c734b6f5160aaa0ccda70443dba8 (diff)
downloadpkgsrc-bdd4aa8a462e03c3c688bcaa96bbf96cc5b322e0.tar.gz
Set OS_VARIANT for OmniOS.
* OmniOS (SunOS variant) is shipped with readline 6.2. OS_VARIANT=OmniOS will be used by devel/readline/buildlink3.mk.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 1b86f060018..8885d7d964e 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.336 2013/04/28 13:21:47 obache Exp $
+# $NetBSD: bsd.prefs.mk,v 1.337 2013/07/19 14:29:16 ryoon Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -293,6 +293,8 @@ LOWER_OPSYS_VERSUFFIX= 2.${OS_VERSION:C/5.//}
_UNAME_V!= ${UNAME} -v
. if !empty(_UNAME_V:Mjoyent_*)
OS_VARIANT= SmartOS
+. else if !empty(_UNAME_V:Momnios-*)
+OS_VARIANT= OmniOS
. endif
.elif ${OPSYS} == "Minix"