pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/python36
Module Name: pkgsrc
Committed By: jperkin
Date: Fri Jul 16 09:48:45 UTC 2021
Modified Files:
pkgsrc/lang/python36: Makefile
Log Message:
python36: Fix _decimal build on Darwin/aarch64.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/lang/python36/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/python36/Makefile
diff -u pkgsrc/lang/python36/Makefile:1.31 pkgsrc/lang/python36/Makefile:1.32
--- pkgsrc/lang/python36/Makefile:1.31 Tue Feb 16 19:39:53 2021
+++ pkgsrc/lang/python36/Makefile Fri Jul 16 09:48:45 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2021/02/16 19:39:53 adam Exp $
+# $NetBSD: Makefile,v 1.32 2021/07/16 09:48:45 jperkin Exp $
.include "dist.mk"
@@ -76,6 +76,11 @@ PLIST.oss= yes
CFLAGS+= -I${OSX_SDK_PATH:Q}/usr/include
.endif
+# Avoid universal build on macOS/aarch64, _decimal fails.
+.if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
+MAKE_ENV+= PYTHON_DECIMAL_WITH_MACHINE=uint128
+.endif
+
PLIST_VARS+= nis
.for incdir in ${_OPSYS_INCLUDE_DIRS}
. if (exists(${incdir}/rpc/rpc.h) || exists(${incdir}/tirpc/rpc/rpc.h))
Home |
Main Index |
Thread Index |
Old Index