| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: bsd.prefs.mk,v 1.378 2016/03/11 04:58:51 tnn Exp $ | | 1 | # $NetBSD: bsd.prefs.mk,v 1.379 2016/03/11 05:42:35 tnn Exp $ |
2 | # | | 2 | # |
3 | # This file includes the mk.conf file, which contains the user settings. | | 3 | # This file includes the mk.conf file, which contains the user settings. |
4 | # | | 4 | # |
5 | # Packages should include this file before any of the .if directives, as | | 5 | # Packages should include this file before any of the .if directives, as |
6 | # well as before modifying variables like CFLAGS, LDFLAGS, and so on. | | 6 | # well as before modifying variables like CFLAGS, LDFLAGS, and so on. |
7 | # Otherwise the behavior may be unexpected. | | 7 | # Otherwise the behavior may be unexpected. |
8 | # | | 8 | # |
9 | # When mk.conf is included by this file, the following variables are | | 9 | # When mk.conf is included by this file, the following variables are |
10 | # defined: | | 10 | # defined: |
11 | # | | 11 | # |
12 | # ACCEPTABLE_LICENSES | | 12 | # ACCEPTABLE_LICENSES |
13 | # This variable is set to the list of Open Source licenses. See | | 13 | # This variable is set to the list of Open Source licenses. See |
14 | # mk/license.mk for details. | | 14 | # mk/license.mk for details. |
| @@ -239,27 +239,27 @@ LOWER_VENDOR?= hp | | | @@ -239,27 +239,27 @@ LOWER_VENDOR?= hp |
239 | | | 239 | |
240 | .elif ${OPSYS} == "SunOS" | | 240 | .elif ${OPSYS} == "SunOS" |
241 | LOWER_VENDOR?= sun | | 241 | LOWER_VENDOR?= sun |
242 | LOWER_OPSYS?= solaris | | 242 | LOWER_OPSYS?= solaris |
243 | LOWER_OPSYS_VERSUFFIX= 2.${OS_VERSION:C/5.//} | | 243 | LOWER_OPSYS_VERSUFFIX= 2.${OS_VERSION:C/5.//} |
244 | _UNAME_V!= ${UNAME} -v | | 244 | _UNAME_V!= ${UNAME} -v |
245 | . if !empty(_UNAME_V:Mjoyent_*) | | 245 | . if !empty(_UNAME_V:Mjoyent_*) |
246 | OS_VARIANT= SmartOS | | 246 | OS_VARIANT= SmartOS |
247 | LOWER_VARIANT_VERSION= ${_UNAME_V:C/joyent_//} | | 247 | LOWER_VARIANT_VERSION= ${_UNAME_V:C/joyent_//} |
248 | . elif !empty(_UNAME_V:Momnios-*) | | 248 | . elif !empty(_UNAME_V:Momnios-*) |
249 | OS_VARIANT= OmniOS | | 249 | OS_VARIANT= OmniOS |
250 | LOWER_VARIANT_VERSION!= /usr/bin/awk '{ print $$3; exit 0; }' /etc/release | | 250 | LOWER_VARIANT_VERSION!= /usr/bin/awk '{ print $$3; exit 0; }' /etc/release |
251 | . else | | 251 | . else |
252 | OS_VARIANT= Oracle | | 252 | OS_VARIANT= Solaris |
253 | LOWER_VARIANT_VERSION= ${_UNAME_V} | | 253 | LOWER_VARIANT_VERSION= ${_UNAME_V} |
254 | . endif | | 254 | . endif |
255 | | | 255 | |
256 | .elif ${OPSYS} == "SCO_SV" | | 256 | .elif ${OPSYS} == "SCO_SV" |
257 | SCO_RELEASE!= ${UNAME} -r | | 257 | SCO_RELEASE!= ${UNAME} -r |
258 | SCO_VERSION!= ${UNAME} -v | | 258 | SCO_VERSION!= ${UNAME} -v |
259 | LOWER_VENDOR?= pc | | 259 | LOWER_VENDOR?= pc |
260 | LOWER_OPSYS?= sco | | 260 | LOWER_OPSYS?= sco |
261 | LOWER_OPSYS_VERSUFFIX= ${SCO_RELEASE}v${SCO_VERSION} | | 261 | LOWER_OPSYS_VERSUFFIX= ${SCO_RELEASE}v${SCO_VERSION} |
262 | _UNAME_V!= ${UNAME} -v | | 262 | _UNAME_V!= ${UNAME} -v |
263 | . if !empty(_UNAME_V:M5.0*) | | 263 | . if !empty(_UNAME_V:M5.0*) |
264 | OS_VARIANT= SCOOSR5 | | 264 | OS_VARIANT= SCOOSR5 |
265 | . elif !empty(_UNAME_V:M6.0*) | | 265 | . elif !empty(_UNAME_V:M6.0*) |