pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-angr Fix build on macOS
details: https://anonhg.NetBSD.org/pkgsrc/rev/cf5b9be8889b
branches: trunk
changeset: 379963:cf5b9be8889b
user: khorben <khorben%pkgsrc.org@localhost>
date: Tue May 08 17:54:42 2018 +0000
description:
Fix build on macOS
Inspired by a similar fix from tron@
diffstat:
devel/py-angr/Makefile | 7 ++++++-
devel/py-angr/PLIST | 4 ++--
2 files changed, 8 insertions(+), 3 deletions(-)
diffs (39 lines):
diff -r 420a5b4a01cd -r cf5b9be8889b devel/py-angr/Makefile
--- a/devel/py-angr/Makefile Tue May 08 16:55:00 2018 +0000
+++ b/devel/py-angr/Makefile Tue May 08 17:54:42 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/03/15 03:13:29 khorben Exp $
+# $NetBSD: Makefile,v 1.2 2018/05/08 17:54:42 khorben Exp $
DISTNAME= angr-7.8.2.21
PKGNAME= ${PYPKGPREFIX}-${EGG_NAME}
@@ -28,6 +28,11 @@
PYTHON_VERSIONS_ACCEPTED= 27
+OPSYSVARS+= SOEXT
+SOEXT.Darwin= dylib
+SOEXT.*= so
+PLIST_SUBST+= SOEXT=${SOEXT}
+
.include "../../devel/py-pyvex/buildlink3.mk"
.include "../../emulators/unicorn/buildlink3.mk"
.include "../../lang/python/egg.mk"
diff -r 420a5b4a01cd -r cf5b9be8889b devel/py-angr/PLIST
--- a/devel/py-angr/PLIST Tue May 08 16:55:00 2018 +0000
+++ b/devel/py-angr/PLIST Tue May 08 17:54:42 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/03/15 03:13:29 khorben Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/05/08 17:54:42 khorben Exp $
${PYSITELIB}/angr-7.8.2.21-py${PYVERSSUFFIX}.egg-info/PKG-INFO
${PYSITELIB}/angr-7.8.2.21-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
${PYSITELIB}/angr-7.8.2.21-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
@@ -505,7 +505,7 @@
${PYSITELIB}/angr/knowledge_plugins/variables/variable_manager.py
${PYSITELIB}/angr/knowledge_plugins/variables/variable_manager.pyc
${PYSITELIB}/angr/knowledge_plugins/variables/variable_manager.pyo
-${PYSITELIB}/angr/lib/angr_native.so
+${PYSITELIB}/angr/lib/angr_native.${SOEXT}
${PYSITELIB}/angr/manager.py
${PYSITELIB}/angr/manager.pyc
${PYSITELIB}/angr/manager.pyo
Home |
Main Index |
Thread Index |
Old Index