After OPENBSD_3_7 branch point, php5-xsl was added (from Ben
Lindstrom). Is there any particular reason php5-xsl wasn't added to
the -STABLE?

I've patched up my ports to allow it to build the -xsl module and it
appears to be working OK. Since -xsl wasn't part of the Makefile
before 1.10 (/usr/ports/www/php5/extensions/Makefile) I'd guess it
just didn't get applied or I'm being thick again.

diff below for the Makefile, don't know how to sent a diff that says
'add' DESCR-xsl and PLIST-xsl :)

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/php5/extensions/Makefile,v
retrieving revision 1.7.2.2
diff -u -r1.7.2.2 Makefile
--- Makefile    2005/05/24 16:53:19     1.7.2.2
+++ Makefile    2005/09/12 21:37:03
@@ -278,6 +278,19 @@
 XMLRPC_WANTLIB=                iconv
 .endif

+# xsl
+PSEUDO_FLAVORS+=       no_xsl
+.if ${FLAVOR:L:Mno_xsl}
+CONFIGURE_ARGS+=       --without-xsl
+.else
+MULTI_PACKAGES+=       -xsl
+COMMENT-xsl=           "XSL functions for php5"
+CONFIGURE_ARGS+=       --with-xsl=shared --enable-dom
+XSL_DEPENDS=           xslt.3,exslt::textproc/libxslt
+XSL_WANTLIB=           xml2 z iconv
+FULLPKGNAME-xsl=       php5-xsl-${V}p0
+.endif
+
 .for i in ${MULTI_PACKAGES}
 .if !defined(FULLPKGNAME${i})
 FULLPKGNAME${i}=       php5${i}-${V}

Reply via email to