pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-cffi
Module Name: pkgsrc
Committed By: leot
Date: Sun Jul 29 10:48:14 UTC 2018
Modified Files:
pkgsrc/devel/py-cffi: Makefile
Log Message:
py-cffi: Add a kludge to disable __thread on NetBSD aarch64
__thread ATM is problematic on NetBSD aarch64 and py-cffi users (e.g.
py-requests) ends up crashing due SIGILL at run time.
PKGREVISION++
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/py-cffi/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-cffi/Makefile
diff -u pkgsrc/devel/py-cffi/Makefile:1.33 pkgsrc/devel/py-cffi/Makefile:1.34
--- pkgsrc/devel/py-cffi/Makefile:1.33 Thu Mar 1 07:59:54 2018
+++ pkgsrc/devel/py-cffi/Makefile Sun Jul 29 10:48:14 2018
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.33 2018/03/01 07:59:54 adam Exp $
+# $NetBSD: Makefile,v 1.34 2018/07/29 10:48:14 leot Exp $
DISTNAME= cffi-1.11.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cffi/}
@@ -16,6 +17,15 @@ USE_TOOLS+= pkg-config
DEPENDS+= ${PYPKGPREFIX}-cparser-[0-9]*:../../devel/py-cparser
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+#
+# XXX: Kludge to avoid __thread that at the moment is still not properly
+# XXX: supported on NetBSD/evbarm aarch64.
+#
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "aarch64"
+BUILDLINK_TRANSFORM+= rm:-DUSE__THREAD
+.endif
+
DISTUTILS_BUILDDIR_IN_TEST_ENV= yes
TEST_ENV+= TMPDIR=${WRKDIR}/tmp
Home |
Main Index |
Thread Index |
Old Index