svn commit: r308634 - in head/devel/gobject-introspection: . files
Marcus von Appen
mva at FreeBSD.org
Mon Dec 10 19:51:57 UTC 2012
Author: mva
Date: Mon Dec 10 19:51:56 2012
New Revision: 308634
URL: http://svnweb.freebsd.org/changeset/ports/308634
Log:
- Fix lang/python27's PTH option knob handling. Since
gobject-introspection does not use python-config correctly and PTH
does not add itself properly to the python-config --includes knob,
python-config --cflags are needed.
PR: ports/172190 ports/170754
Submitted by: Waitman Gobble <uzimac at da3m0n8t3r.com> Shawn Wilson <ag4ve.us at gmail.com>
Modified:
head/devel/gobject-introspection/Makefile (contents, props changed)
head/devel/gobject-introspection/files/patch-configure (contents, props changed)
Modified: head/devel/gobject-introspection/Makefile
==============================================================================
--- head/devel/gobject-introspection/Makefile Mon Dec 10 19:27:51 2012 (r308633)
+++ head/devel/gobject-introspection/Makefile Mon Dec 10 19:51:56 2012 (r308634)
@@ -8,7 +8,7 @@
PORTNAME= gobject-introspection
PORTVERSION= 0.10.8
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
Modified: head/devel/gobject-introspection/files/patch-configure
==============================================================================
--- head/devel/gobject-introspection/files/patch-configure Mon Dec 10 19:27:51 2012 (r308633)
+++ head/devel/gobject-introspection/files/patch-configure Mon Dec 10 19:51:56 2012 (r308634)
@@ -5,7 +5,7 @@
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`
++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}"
fi
More information about the svn-ports-all
mailing list