pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/tcl tcl: Skip --enable-64bit on Darwin/aarch64.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8e035b2d0a7
branches:  trunk
changeset: 456009:b8e035b2d0a7
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Jul 16 09:56:25 2021 +0000

description:
tcl: Skip --enable-64bit on Darwin/aarch64.

Causes -arch x86_64 to be added to CFLAGS and then fails to link.

diffstat:

 lang/tcl/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a267c399836c -r b8e035b2d0a7 lang/tcl/Makefile
--- a/lang/tcl/Makefile Fri Jul 16 09:48:45 2021 +0000
+++ b/lang/tcl/Makefile Fri Jul 16 09:56:25 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.115 2021/04/21 11:42:07 adam Exp $
+# $NetBSD: Makefile,v 1.116 2021/07/16 09:56:25 jperkin Exp $
 
 DISTNAME=      tcl${TCL_VERSION}-src
 PKGNAME=       tcl-${TCL_VERSION}
@@ -35,7 +35,7 @@
 .include "options.mk"
 
 # This is needed for SGI and maybe sun (according to tcl developers)
-.if defined(ABI) && ${ABI} == "64"
+.if defined(ABI) && ${ABI} == "64" && empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
 CONFIGURE_ARGS+=       --enable-64bit
 .endif
 



Home | Main Index | Thread Index | Old Index