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 Jan 27 14:07:50 UTC 2026

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

Log Message:
mk: remove outdated code piece

This was trying to handle fortran in NetBSD<1.5 - but NetBSD 1.4 already
had a fortran compiler in base, and fortran is autodetected nowadays.


To generate a diff of this commit:
cvs rdiff -u -r1.308 -r1.309 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.308 pkgsrc/mk/compiler/gcc.mk:1.309
--- pkgsrc/mk/compiler/gcc.mk:1.308     Wed Jan 21 19:32:02 2026
+++ pkgsrc/mk/compiler/gcc.mk   Tue Jan 27 14:07:50 2026
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.308 2026/01/21 19:32:02 wiz Exp $
+# $NetBSD: gcc.mk,v 1.309 2026/01/27 14:07:50 wiz Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -1354,12 +1354,6 @@ PKGSRC_FORTRAN?=gfortran
 _GCC_NEEDS_A_FORTRAN=  no
 .if empty(_USE_PKGSRC_GCC:M[yY][eE][sS]) && !(defined(FCPATH) && exists(${FCPATH}))
 _GCC_NEEDS_A_FORTRAN=  yes
-.else
-.  for _pattern_ in 0.* 1.[0-4] 1.[0-4].*
-.    if !empty(MACHINE_PLATFORM:MNetBSD-${_pattern_}-*)
-_GCC_NEEDS_A_FORTRAN=  yes
-.    endif
-.  endfor
 .endif
 .if !empty(_GCC_NEEDS_A_FORTRAN:M[yY][eE][sS])
 .  include "../../mk/compiler/${PKGSRC_FORTRAN}.mk"



Home | Main Index | Thread Index | Old Index