Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 19:51:57 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308634 - in head/devel/gobject-introspection: . files
Message-ID:  <201212101951.qBAJpvCL099166@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@da3m0n8t3r.com> Shawn Wilson <ag4ve.us@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212101951.qBAJpvCL099166>