pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-angr



Module Name:    pkgsrc
Committed By:   khorben
Date:           Tue May  8 17:54:42 UTC 2018

Modified Files:
        pkgsrc/devel/py-angr: Makefile PLIST

Log Message:
Fix build on macOS

Inspired by a similar fix from tron@


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-angr/Makefile \
    pkgsrc/devel/py-angr/PLIST

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-angr/Makefile
diff -u pkgsrc/devel/py-angr/Makefile:1.1 pkgsrc/devel/py-angr/Makefile:1.2
--- pkgsrc/devel/py-angr/Makefile:1.1   Thu Mar 15 03:13:29 2018
+++ pkgsrc/devel/py-angr/Makefile       Tue May  8 17:54:42 2018
@@ -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 @@ DEPENDS+=    ${PYPKGPREFIX}-claripy-[0-9]*:
 
 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"
Index: pkgsrc/devel/py-angr/PLIST
diff -u pkgsrc/devel/py-angr/PLIST:1.1 pkgsrc/devel/py-angr/PLIST:1.2
--- pkgsrc/devel/py-angr/PLIST:1.1      Thu Mar 15 03:13:29 2018
+++ pkgsrc/devel/py-angr/PLIST  Tue May  8 17:54:42 2018
@@ -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/vari
 ${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