Changeset View
Changeset View
Standalone View
Standalone View
devel/py-python-pcre/files/patch-setup.py
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- 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']) | |||||
koobs: See if you can use the following for the build_ext distutils command and the… | |||||
Not Done Inline Actionsbuild_ext is run from within python, and neither adding --library-dirs nor --include-dirs changes things. (Actually, they make python setup.py error out...) xmj: build_ext is run from within python, and neither adding --library-dirs nor --include-dirs… | |||||
See if you can use the following for the build_ext distutils command and the PYDISTUTILS_BUILDARGS / PYDISTUTILS_BUILD_TARGET python.mk variables: