aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/php4-xslt
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-07-27 05:29:58 +0800
committerale <ale@FreeBSD.org>2004-07-27 05:29:58 +0800
commit382ad33393f52b3fe82d9151a35973350027775b (patch)
treef2586066b28b4dc94caaf60da4ebe2d7e502be95 /textproc/php4-xslt
parent353c0659d617487534c1daadec2e521e23fe6edb (diff)
downloadfreebsd-ports-gnome-382ad33393f52b3fe82d9151a35973350027775b.tar.gz
freebsd-ports-gnome-382ad33393f52b3fe82d9151a35973350027775b.tar.zst
freebsd-ports-gnome-382ad33393f52b3fe82d9151a35973350027775b.zip
Enable xslt_set_encoding and xslt_getopt functions.
PR: ports/69630 Submitted by: Martijn Broeders <martijn@zuul.nu>
Diffstat (limited to 'textproc/php4-xslt')
-rw-r--r--textproc/php4-xslt/files/patch-config.m420
1 files changed, 20 insertions, 0 deletions
diff --git a/textproc/php4-xslt/files/patch-config.m4 b/textproc/php4-xslt/files/patch-config.m4
new file mode 100644
index 000000000000..cf19f9c12902
--- /dev/null
+++ b/textproc/php4-xslt/files/patch-config.m4
@@ -0,0 +1,20 @@
+--- config.m4.orig Mon Jul 26 23:21:42 2004
++++ config.m4 Mon Jul 26 23:24:25 2004
+@@ -146,7 +146,7 @@
+ [
+ AC_DEFINE(HAVE_SABLOT_SET_ENCODING, 1, [ ])
+ ], [], [
+- -L$XSLT_DIR/lib $PHP_SABLOT_JS_LIBS
++ -L$XSLT_DIR/lib $PHP_SABLOT_JS_LIBS -lexpat -liconv
+ ])
+
+ dnl SablotSetOptions implemented in Sablotron CVS > 2002/10/31
+@@ -154,7 +154,7 @@
+ [
+ AC_DEFINE(HAVE_SABLOT_GET_OPTIONS, 1, [Whether Sablotron supports SablotGetOptions])
+ ], [], [
+- -L$XSLT_DIR/lib $PHP_SABLOT_JS_LIBS
++ -L$XSLT_DIR/lib $PHP_SABLOT_JS_LIBS -lexpat -liconv
+ ])
+
+ AC_DEFINE(HAVE_SABLOT_BACKEND, 1, [ ])