pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/gcc12



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Dec  6 14:23:02 UTC 2022

Modified Files:
        pkgsrc/lang/gcc12: Makefile distinfo

Log Message:
gcc12: Support Darwin/aarch64.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/gcc12/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/gcc12/distinfo

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

Modified files:

Index: pkgsrc/lang/gcc12/Makefile
diff -u pkgsrc/lang/gcc12/Makefile:1.3 pkgsrc/lang/gcc12/Makefile:1.4
--- pkgsrc/lang/gcc12/Makefile:1.3      Mon Aug 22 12:16:15 2022
+++ pkgsrc/lang/gcc12/Makefile  Tue Dec  6 14:23:02 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/08/22 12:16:15 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/12/06 14:23:02 jperkin Exp $
 
 GCC_PKGNAME=           gcc12
 .include               "version.mk"
@@ -46,6 +46,7 @@ UNLIMIT_RESOURCES+=   datasize
 UNLIMIT_RESOURCES+=    stacksize
 
 CHECK_PORTABILITY_SKIP+=       contrib/*
+CHECK_PORTABILITY_SKIP+=       gcc/configure.orig_dist
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -77,6 +78,14 @@ SUBST_SED.fixinc=    -e "s,\./fixinc.sh,-c 
 
 .include "options.mk"
 
+.if ${MACHINE_PLATFORM:MDarwin-*-aarch64}
+BUILDLINK_TRANSFORM+=  rm:-nodefaultrpaths
+CONFIGURE_ARGS+=       --disable-darwin-at-rpath
+PATCHFILES=            gcc-12.2.0-arm.diff
+PATCH_SITES=           https://raw.githubusercontent.com/Homebrew/formula-patches/1d184289/gcc/
+PATCH_DIST_STRIP=      -p1
+.endif
+
 ## For graphite support.
 .if !empty(PKG_OPTIONS:Mgcc-graphite)
 

Index: pkgsrc/lang/gcc12/distinfo
diff -u pkgsrc/lang/gcc12/distinfo:1.2 pkgsrc/lang/gcc12/distinfo:1.3
--- pkgsrc/lang/gcc12/distinfo:1.2      Mon Aug 22 12:16:15 2022
+++ pkgsrc/lang/gcc12/distinfo  Tue Dec  6 14:23:02 2022
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.2 2022/08/22 12:16:15 wiz Exp $
+$NetBSD: distinfo,v 1.3 2022/12/06 14:23:02 jperkin Exp $
 
+BLAKE2s (gcc-12.2.0-arm.diff) = a39143ad6349cf5153954c2c1398cb3e33b586215a17836af017c3894d57dc30
+SHA512 (gcc-12.2.0-arm.diff) = 3061a8a990f2f7b31f1daf30ea0ddabcfe68f0f01b2d8dcf7cbb4ab1cd559d86fd38a453613128e35d0e78a14199ff3848b3ca007349ebe2ff420beb12468638
+Size (gcc-12.2.0-arm.diff) = 616315 bytes
 BLAKE2s (gcc-12.2.0.tar.xz) = aca782fc46f75c32dc223ba8715cb46001658574431235822ce4e68361c58305
 SHA512 (gcc-12.2.0.tar.xz) = e9e857bd81bf7a370307d6848c81b2f5403db8c7b5207f54bce3f3faac3bde63445684092c2bc1a2427cddb6f7746496d9fbbef05fbbd77f2810b2998f1f9173
 Size (gcc-12.2.0.tar.xz) = 84645292 bytes



Home | Main Index | Thread Index | Old Index