aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2012-07-24 01:00:46 +0800
committermva <mva@FreeBSD.org>2012-07-24 01:00:46 +0800
commita4240033e144f63f553f5b4db525e7ae9cd9f3b6 (patch)
treeb53334ff9f775e1f6c99afdeb37a55b06e3b9b1d /textproc
parentbb331b2f01b1c904a4c40efea2c65193a27295db (diff)
downloadfreebsd-ports-gnome-a4240033e144f63f553f5b4db525e7ae9cd9f3b6.tar.gz
freebsd-ports-gnome-a4240033e144f63f553f5b4db525e7ae9cd9f3b6.tar.zst
freebsd-ports-gnome-a4240033e144f63f553f5b4db525e7ae9cd9f3b6.zip
- Fix includes and linker settings for lang/python2*'s PTH options
PR: ports/156425 Reported by: Iwao, Koichiro <meta@club.kyutech.ac.jp>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-libxml2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/py-libxml2/Makefile b/textproc/py-libxml2/Makefile
index 8da7fe4ed3dd..29c6aa62c811 100644
--- a/textproc/py-libxml2/Makefile
+++ b/textproc/py-libxml2/Makefile
@@ -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} \