svn commit: r301403 - head/textproc/py-libxml2

Marcus von Appen mva at FreeBSD.org
Mon Jul 23 17:00:47 UTC 2012


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 at 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} \



More information about the svn-ports-head mailing list