diff options
author | jperkin <jperkin@pkgsrc.org> | 2021-07-16 09:56:25 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2021-07-16 09:56:25 +0000 |
commit | 56e0faaf83a59c02f114b5e4dc6e7678bfa99742 (patch) | |
tree | f96994d8382fe72557de0eb128c2edb3a7cc6161 /lang | |
parent | 7cd34c8316e4e3fde9d1e1b613c2f8a366a4bae9 (diff) | |
download | pkgsrc-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/Makefile | 4 |
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 |