Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173777020
D59817.id187122.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D59817.id187122.diff
View Options
Index: devel/py-capstone/Makefile
===================================================================
--- devel/py-capstone/Makefile
+++ devel/py-capstone/Makefile
@@ -1,5 +1,6 @@
PORTNAME= capstone
DISTVERSION= 5.0.9
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Index: devel/py-capstone/files/patch-capstone_____init____.py
===================================================================
--- /dev/null
+++ devel/py-capstone/files/patch-capstone_____init____.py
@@ -0,0 +1,13 @@
+--- capstone/__init__.py.orig 2026-09-18 17:56:39 UTC
++++ capstone/__init__.py
+@@ -401,7 +401,9 @@ _path_list = [os.getenv('LIBCAPSTONE_PATH', None),
+ join(split(__file__)[0], 'lib'),
+ '',
+ sysconfig.get_path('platlib'),
+- "/usr/local/lib/" if sys.platform == 'darwin' else '/usr/lib64']
++ "%%LOCALBASE%%/lib/" if sys.platform == 'darwin'
++ or sys.platform.startswith('freebsd')
++ else '/usr/lib64']
+
+ for _path in _path_list:
+ if _path is None: continue
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 29, 8:09 AM (1 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39866855
Default Alt Text
D59817.id187122.diff (1 KB)
Attached To
Mode
D59817: devel/py-capstone: Fix libcapstone.so detection
Attached
Detach File
Event Timeline
Log In to Comment