mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 07:10:32 -04:00
A Python PCRE library WWW: https://github.com/awahlig/python-pcre PR: 196947 Differential Revision: https://reviews.freebsd.org/D1596 Submitted by: Maxim Filimonov <che@bein.link> Reviewed by: koobs, swills (while still in mentorship)
11 lines
387 B
Python
11 lines
387 B
Python
--- setup.py.orig 2014-08-17 09:21:38 UTC
|
|
+++ setup.py
|
|
@@ -33,6 +33,8 @@ from distutils.core import setup, Extens
|
|
|
|
_pcre = Extension('_pcre', ['src/pcremodule.c'],
|
|
libraries=['pcre'],
|
|
+ include_dirs=['%%LOCALBASE%%/include'],
|
|
+ library_dirs=['%%LOCALBASE%%/lib'],
|
|
extra_compile_args=['-fno-strict-aliasing'])
|
|
|
|
|