From a9ffbd64dd2417bc2ed2f442e6973036a7209609 Mon Sep 17 00:00:00 2001 From: kwm Date: Sun, 16 Dec 2012 23:58:35 +0000 Subject: sync with ports. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17171 df743ca5-7f9a-e211-a948-0013205c9059 --- devel/gobject-introspection/files/patch-configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devel/gobject-introspection/files/patch-configure b/devel/gobject-introspection/files/patch-configure index 7b5ed4958..d2838d890 100644 --- a/devel/gobject-introspection/files/patch-configure +++ b/devel/gobject-introspection/files/patch-configure @@ -7,10 +7,10 @@ -if test "x$PYTHON_INCLUDES" == x; then - PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" +if test "x$PYTHON_INCLUDES" = x; then -+ PYTHON_INCLUDES=`python${PYTHON_VERSION}-config --includes` ++ PYTHON_INCLUDES=`python${PYTHON_VERSION}-config --cflags` if test "$py_prefix" != "$py_exec_prefix"; then - PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" -+ PYTHON_INCLUDES=`python${PYTHON_VERSION}-config --includes` ++ PYTHON_INCLUDES=`python${PYTHON_VERSION}-config --cflags` fi fi -- cgit v1.2.3