Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2012 17:00:46 +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: r301403 - head/textproc/py-libxml2
Message-ID:  <201207231700.q6NH0kkh029732@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Mon Jul 23 17:00:46 2012
New Revision: 301403
URL: http://svn.freebsd.org/changeset/ports/301403

Log:
  - Fix includes and linker settings for lang/python2*'s PTH options
  
  PR:		ports/156425
  Reported by:	Iwao, Koichiro <meta@club.kyutech.ac.jp>

Modified:
  head/textproc/py-libxml2/Makefile   (contents, props changed)

Modified: head/textproc/py-libxml2/Makefile
==============================================================================
--- head/textproc/py-libxml2/Makefile	Mon Jul 23 16:11:06 2012	(r301402)
+++ head/textproc/py-libxml2/Makefile	Mon Jul 23 17:00:46 2012	(r301403)
@@ -5,7 +5,7 @@
 # $FreeBSD$
 #
 
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc gnome python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -20,6 +20,8 @@ PLIST=		${.CURDIR}/pkg-plist
 
 USE_GNOME=	gnomehack libxml2
 USE_PYTHON=	yes
+CPPFLAGS+=	`${PYTHON_VERSION}-config --cflags`
+LDFLAGS+=	`${PYTHON_VERSION}-config --libs`
 CONFIGURE_ARGS=	--with-iconv=${LOCALBASE} \
 		--with-html-dir=${PREFIX}/share/doc \
 		--with-html-subdir=${PORTNAME} \



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