summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2021-07-16 09:56:25 +0000
committerjperkin <jperkin@pkgsrc.org>2021-07-16 09:56:25 +0000
commit56e0faaf83a59c02f114b5e4dc6e7678bfa99742 (patch)
treef96994d8382fe72557de0eb128c2edb3a7cc6161 /lang
parent7cd34c8316e4e3fde9d1e1b613c2f8a366a4bae9 (diff)
downloadpkgsrc-56e0faaf83a59c02f114b5e4dc6e7678bfa99742.tar.gz
tcl: Skip --enable-64bit on Darwin/aarch64.
Causes -arch x86_64 to be added to CFLAGS and then fails to link.
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile
index 04605b6d2fe..675104b37ac 100644
--- a/lang/tcl/Makefile
+++ b/lang/tcl/Makefile
@@ -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 @@ TEST_TARGET= test
.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