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: jperkin
Date: Tue Dec 6 14:29:58 UTC 2022
Modified Files:
pkgsrc/mk/compiler: gfortran.mk
Log Message:
mk: Use gcc12 for gfortran on Darwin/aarch64.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/mk/compiler/gfortran.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/gfortran.mk
diff -u pkgsrc/mk/compiler/gfortran.mk:1.20 pkgsrc/mk/compiler/gfortran.mk:1.21
--- pkgsrc/mk/compiler/gfortran.mk:1.20 Mon Apr 4 15:38:47 2022
+++ pkgsrc/mk/compiler/gfortran.mk Tue Dec 6 14:29:58 2022
@@ -1,4 +1,4 @@
-# $NetBSD: gfortran.mk,v 1.20 2022/04/04 15:38:47 jperkin Exp $
+# $NetBSD: gfortran.mk,v 1.21 2022/12/06 14:29:58 jperkin Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -41,6 +41,10 @@ COMPILER_GFORTRAN_MK= defined
# in that case.
POSSIBLE_GFORTRAN_VERSION?= ${CC_VERSION:S/gcc-//:C/.[0-9].[0-9]$//}
+.if ${MACHINE_PLATFORM:MDarwin-*-aarch64}
+GFORTRAN_VERSION?= 12
+.endif
+
# gcc9 doesn't work on NetBSD/arm, but gcc10 does.
.if !empty(POSSIBLE_GFORTRAN_VERSION:M9) && \
!empty(MACHINE_PLATFORM:MNetBSD-*-aarch64*)
Home |
Main Index |
Thread Index |
Old Index