From 7046a55fd8c78a3bf8c78c239a321985cdb6e3ad Mon Sep 17 00:00:00 2001 From: Boris Samorodov Date: Sat, 7 Sep 2013 19:49:41 +0000 Subject: Introduce variable ICONV_PREFIX at Mk/Uses/iconv.mk. The default for pre 100043 is ${LOCALBASE} and /usr otherwise. Convert all ports to new variable usage. Approved by: portmgr (bapt, implicit) --- textproc/py-libxml2/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'textproc/py-libxml2') diff --git a/textproc/py-libxml2/Makefile b/textproc/py-libxml2/Makefile index 42fbf66ed23a..90d7977a7149 100644 --- a/textproc/py-libxml2/Makefile +++ b/textproc/py-libxml2/Makefile @@ -16,9 +16,10 @@ PLIST= ${.CURDIR}/pkg-plist USE_GNOME+= libxml2 USE_PYTHON= -2.7 +USES= iconv CPPFLAGS+= `${PYTHON_VERSION}-config --cflags` LDFLAGS+= -L${LOCALBASE}/lib `${PYTHON_VERSION}-config --libs` -CONFIGURE_ARGS= --with-iconv=${LOCALBASE} \ +CONFIGURE_ARGS= --with-iconv=${ICONV_PREFIX} \ --with-html-dir=${PREFIX}/share/doc \ --with-html-subdir=${PORTNAME} \ --with-python=${PYTHON_CMD} -- cgit v1.2.3