summaryrefslogtreecommitdiffstats
path: root/devel/gobject-introspection
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2011-05-03 06:26:57 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2011-05-03 06:26:57 +0800
commit7c3af71f6407c57f7622cc3f55fca6dfe5176668 (patch)
tree117dcd9c0cad7260e3e52466c914273c0d52f1fe /devel/gobject-introspection
parentca1d26a70e6c7a0488d25f0d335a647856e3ab74 (diff)
downloadmarcuscom-ports-7c3af71f6407c57f7622cc3f55fca6dfe5176668.tar
marcuscom-ports-7c3af71f6407c57f7622cc3f55fca6dfe5176668.tar.gz
marcuscom-ports-7c3af71f6407c57f7622cc3f55fca6dfe5176668.tar.bz2
marcuscom-ports-7c3af71f6407c57f7622cc3f55fca6dfe5176668.tar.lz
marcuscom-ports-7c3af71f6407c57f7622cc3f55fca6dfe5176668.tar.xz
marcuscom-ports-7c3af71f6407c57f7622cc3f55fca6dfe5176668.tar.zst
marcuscom-ports-7c3af71f6407c57f7622cc3f55fca6dfe5176668.zip
Use 'python${PYTHON_VERSION}-config --includes' to give the includes instead
of static version. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15946 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gobject-introspection')
-rw-r--r--devel/gobject-introspection/files/patch-configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/gobject-introspection/files/patch-configure b/devel/gobject-introspection/files/patch-configure
new file mode 100644
index 000000000..2eefdd83b
--- /dev/null
+++ b/devel/gobject-introspection/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2011-05-02 17:19:45.000000000 -0500
++++ configure 2011-05-02 17:19:58.000000000 -0500
+@@ -15983,7 +15983,7 @@
+ $as_echo_n "checking for headers required to compile python extensions... " >&6; }
+ py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
+ py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
+-PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
++PYTHON_INCLUDES=`python${PYTHON_VERSION}-config --includes`
+ if test "$py_prefix" != "$py_exec_prefix"; then
+ PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
+ fi