pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
macOS binutils fix
devel/binutils does not install on my Mac M1.
Darwin tarpon.acadix.biz 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15
00:12:41 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T8103 arm64
The patch below corrects the problem, but I have no way of knowing if it
might adversely impact other macOS versions.
Please send feedback if you can. Thanks...
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/binutils/Makefile,v
retrieving revision 1.113
diff -u -r1.113 Makefile
--- Makefile 28 Aug 2023 15:09:33 -0000 1.113
+++ Makefile 18 May 2024 17:50:46 -0000
@@ -47,7 +47,7 @@
#
# Supported utils and libraries differ quite a bit across platforms.
#
-PLIST_VARS+= ctf gas gold gprof ld
+PLIST_VARS+= ctf gas gold gprof ld ldint
.include "../../mk/bsd.prefs.mk"
@@ -62,6 +62,7 @@
.if ${OPSYS} != "Darwin"
PLIST.gas= yes
+PLIST.ldint= yes
.endif
.if ${OPSYS} != "IRIX" && ${OPSYS} != "AIX" && ${OPSYS} != "Darwin"
Index: PLIST.common
===================================================================
RCS file: /cvsroot/pkgsrc/devel/binutils/PLIST.common,v
retrieving revision 1.41
diff -u -r1.41 PLIST.common
--- PLIST.common 31 Jul 2023 14:08:34 -0000 1.41
+++ PLIST.common 18 May 2024 17:50:46 -0000
@@ -81,7 +81,7 @@
${PLIST.ctf}info/ctf-spec.info
${PLIST.gprof}info/gprof.info
${PLIST.gld}info/ld.info
-info/ldint.info
+${PLIST.ldint}info/ldint.info
info/sframe-spec.info
${PLIST.gld}lib/bfd-plugins/libdep.so
lib/libbfd.la
--
Life is a game. Play hard. Play fair. Have fun.
Home |
Main Index |
Thread Index |
Old Index