aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2012-07-23 17:00:46 +0000
committerMarcus von Appen <mva@FreeBSD.org>2012-07-23 17:00:46 +0000
commit4a9355f439e0aa09ec22be4ce16c8592f8eafb5a (patch)
treeb53334ff9f775e1f6c99afdeb37a55b06e3b9b1d /textproc
parent75e5621e441377f6263da5159f9e9344d0f2f4b3 (diff)
downloadports-4a9355f439e0aa09ec22be4ce16c8592f8eafb5a.tar.gz
ports-4a9355f439e0aa09ec22be4ce16c8592f8eafb5a.zip
Notes
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} \