summaryrefslogtreecommitdiffstats
path: root/textproc/py-libxml2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-libxml2/Makefile')
-rw-r--r--textproc/py-libxml2/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/textproc/py-libxml2/Makefile b/textproc/py-libxml2/Makefile
index 018242cba..fa560f2d4 100644
--- a/textproc/py-libxml2/Makefile
+++ b/textproc/py-libxml2/Makefile
@@ -15,11 +15,10 @@ INSTALL_WRKSRC= ${BUILD_WRKSRC}
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
-USES= pathfix
-USE_GNOME= libxml2
+USE_GNOME+= libxml2
USE_PYTHON= yes
CPPFLAGS+= `${PYTHON_VERSION}-config --cflags`
-LDFLAGS+= `${PYTHON_VERSION}-config --libs`
+LDFLAGS+= -L${LOCALBASE}/lib `${PYTHON_VERSION}-config --libs`
CONFIGURE_ARGS= --with-iconv=${LOCALBASE} \
--with-html-dir=${PREFIX}/share/doc \
--with-html-subdir=${PORTNAME} \