summaryrefslogtreecommitdiff
path: root/textproc/php4-xslt/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2002-10-30 15:28:12 +0000
committerwiz <wiz>2002-10-30 15:28:12 +0000
commite7b8d7536fca55657edbd47f94b033b2cbfa0a96 (patch)
tree07bf71d991b6237f43c60b18c61f87099514db64 /textproc/php4-xslt/Makefile
parent6946819e23874f2c5547754cfda2ffe56a5a6e8e (diff)
downloadpkgsrc-e7b8d7536fca55657edbd47f94b033b2cbfa0a96.tar.gz
Update to 4.2.3. Simplify logic to find libiconv.
Diffstat (limited to 'textproc/php4-xslt/Makefile')
-rw-r--r--textproc/php4-xslt/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/textproc/php4-xslt/Makefile b/textproc/php4-xslt/Makefile
index b9454be920f..d484f9f1b8b 100644
--- a/textproc/php4-xslt/Makefile
+++ b/textproc/php4-xslt/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2002/09/10 16:06:50 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2002/10/30 15:28:12 wiz Exp $
MODNAME= xslt
CATEGORIES+= textproc
-PKGREVISION= 1
COMMENT= PHP4 extension for XSLT functions (Sablotron backend)
USE_BUILDLINK2= YES
@@ -10,15 +9,10 @@ USE_BUILDLINK2= YES
.include "../../www/php4/Makefile.module"
CONFIGURE_ARGS+= --enable-${MODNAME}
-CONFIGURE_ARGS+= --with-${MODNAME}-sablot=shared,${BUILDLINK_DIR}
-CONFIGURE_ARGS+= --with-expat-dir=shared,${BUILDLINK_DIR}
-
-# libsablot.so depends on libiconv.so, so just force the configure script
-# to find it.
-#
-CONFIGURE_ENV+= ac_cv_lib_c_iconv_open=yes
-CONFIGURE_ENV+= XSLT_SHARED_LIBADD="-liconv"
-LIBS+= -liconv
+CONFIGURE_ARGS+= --with-${MODNAME}-sablot=shared,${BUILDLINK_PREFIX.sablotron}
+CONFIGURE_ARGS+= --with-expat-dir=shared,${BUILDLINK_PREFIX.expat}
+# to make configure find libiconv
+CONFIGURE_ENV+= PHP_ICONV=${BUILDLINK_PREFIX.iconv:Q}
PLIST_SRC+= ${.CURDIR}/PLIST.extras
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}