pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Nov 23 11:59:08 UTC 2022

Modified Files:
        pkgsrc/mk: bsd.prefs.mk

Log Message:
mk: Cache _UNAME_V on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.428 -r1.429 pkgsrc/mk/bsd.prefs.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/bsd.prefs.mk
diff -u pkgsrc/mk/bsd.prefs.mk:1.428 pkgsrc/mk/bsd.prefs.mk:1.429
--- pkgsrc/mk/bsd.prefs.mk:1.428        Thu Sep 29 02:25:16 2022
+++ pkgsrc/mk/bsd.prefs.mk      Wed Nov 23 11:59:08 2022
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.428 2022/09/29 02:25:16 charlotte Exp $
+# $NetBSD: bsd.prefs.mk,v 1.429 2022/11/23 11:59:08 jperkin Exp $
 #
 # This file includes the mk.conf file, which contains the user settings.
 #
@@ -283,7 +283,10 @@ LOWER_VENDOR?=             hp
 LOWER_VENDOR?=         sun
 LOWER_OPSYS?=          solaris
 LOWER_OPSYS_VERSUFFIX= 2.${OS_VERSION:C/5.//}
+.  if !defined(_UNAME_V)
 _UNAME_V!=             ${UNAME} -v
+MAKEFLAGS+=            _UNAME_V=${_UNAME_V:Q}
+.  endif
 .  if !empty(_UNAME_V:Mjoyent_*)
 OS_VARIANT=            SmartOS
 LOWER_VARIANT_VERSION= ${_UNAME_V:C/joyent_//}



Home | Main Index | Thread Index | Old Index