diff options
author | adam <adam@pkgsrc.org> | 2015-11-25 14:01:34 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2015-11-25 14:01:34 +0000 |
commit | 2b30414dacccf6b2df7a429a0abb22e437967e55 (patch) | |
tree | e6299b54e309f0c86827e33631ca38f0512a83df /lang | |
parent | 25694be9b3f6b9c0622212da099596c1e5899f64 (diff) | |
download | pkgsrc-2b30414dacccf6b2df7a429a0abb22e437967e55.tar.gz |
Fix for libffi include path on Darwin.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python27/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile index 956c2c091b9..7d55800f163 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 2015/11/16 13:47:25 fhajny Exp $ +# $NetBSD: Makefile,v 1.53 2015/11/25 14:01:34 adam Exp $ .include "dist.mk" @@ -154,6 +154,12 @@ REPLACE.py27.new= ${PREFIX}/bin/python${PY_VER_SUFFIX} REPLACE_FILES.py27= Lib/*.py Lib/*/*.py Lib/*/*/*.py REPLACE_FILES.py27+= Lib/*/*/*/*.py +SUBST_CLASSES+= libffi +SUBST_MESSAGE.libffi= Fixing libffi include path on Darwin. +SUBST_STAGE.libffi= pre-configure +SUBST_FILES.libffi= setup.py +SUBST_SED.libffi= -e 's,/usr/include/ffi,${BUILDLINK_PREFIX.libffi}/include,' + SUBST_CLASSES+= findlib SUBST_MESSAGE.findlib= Fixing find_library_file on Darwin. SUBST_STAGE.findlib= pre-configure |