pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2018Q1]: pkgsrc/devel/py-angr Pullup ticket #5755...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b82eec3e4297
branches:  pkgsrc-2018Q1
changeset: 308252:b82eec3e4297
user:      spz <spz%pkgsrc.org@localhost>
date:      Sat May 19 08:50:46 2018 +0000

description:
Pullup ticket #5755 - requested by khorben
devel/py-angr: build fix

Revisions pulled up:
- devel/py-angr/Makefile                                        1.2
- devel/py-angr/PLIST                                           1.2

-------------------------------------------------------------------
   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

diffstat:

 devel/py-angr/Makefile |  7 ++++++-
 devel/py-angr/PLIST    |  4 ++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r b43d37dbd612 -r b82eec3e4297 devel/py-angr/Makefile
--- a/devel/py-angr/Makefile    Tue May 08 15:06:21 2018 +0000
+++ b/devel/py-angr/Makefile    Sat May 19 08:50:46 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/03/15 03:13:29 khorben Exp $
+# $NetBSD: Makefile,v 1.1.2.1 2018/05/19 08:50:46 spz 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 b43d37dbd612 -r b82eec3e4297 devel/py-angr/PLIST
--- a/devel/py-angr/PLIST       Tue May 08 15:06:21 2018 +0000
+++ b/devel/py-angr/PLIST       Sat May 19 08:50:46 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.1.2.1 2018/05/19 08:50:46 spz 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