pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/compiler



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Feb 18 11:57:12 UTC 2025

Modified Files:
        pkgsrc/mk/compiler: gcc.mk

Log Message:
mk: Allow _GCC_REQD to be precomputed.

>From Jonathan Perkin <jperkin%smartos.org@localhost>
via drecklypkg commit $252ec79f834665f12bf21042a55ccfa1ec0dc3e0


To generate a diff of this commit:
cvs rdiff -u -r1.286 -r1.287 pkgsrc/mk/compiler/gcc.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/compiler/gcc.mk
diff -u pkgsrc/mk/compiler/gcc.mk:1.286 pkgsrc/mk/compiler/gcc.mk:1.287
--- pkgsrc/mk/compiler/gcc.mk:1.286     Tue Feb 11 19:30:18 2025
+++ pkgsrc/mk/compiler/gcc.mk   Tue Feb 18 11:57:12 2025
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.286 2025/02/11 19:30:18 gdt Exp $
+# $NetBSD: gcc.mk,v 1.287 2025/02/18 11:57:12 wiz Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -445,6 +445,7 @@ _IS_BUILTIN_GCC=    NO
 # Distill the GCC_REQD list into a single _GCC_REQD value that is the
 # highest version of GCC required.
 #
+.if !defined(_GCC_REQD)
 _GCC_STRICTEST_REQD?=  none
 .for _version_ in ${GCC_REQD}
 .  for _pkg_ in gcc-${_version_}
@@ -467,6 +468,7 @@ _GCC_STRICTEST_REQD=        ${_version_}
 .  endfor
 .endfor
 _GCC_REQD=     ${_GCC_STRICTEST_REQD}
+.endif
 
 # Determine which GCC version is required by examining _GCC_REQD.
 _NEED_GCC6?=   no



Home | Main Index | Thread Index | Old Index