aboutsummaryrefslogtreecommitdiff
path: root/www/mod_php4
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-06-12 20:19:46 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-06-12 20:19:46 +0000
commit6adb290a4b8d3efc9c139002e7def4c5346987f3 (patch)
tree6fca632bde9b38921d591b4c140b0ed6b42ddc0b /www/mod_php4
parent6ff3f45ac65efe544f0572913a49efc4c064eb1a (diff)
downloadports-6adb290a4b8d3efc9c139002e7def4c5346987f3.tar.gz
ports-6adb290a4b8d3efc9c139002e7def4c5346987f3.zip
Notes
Diffstat (limited to 'www/mod_php4')
-rw-r--r--www/mod_php4/files/patch-at11
-rw-r--r--www/mod_php4/scripts/configure.php5
2 files changed, 16 insertions, 0 deletions
diff --git a/www/mod_php4/files/patch-at b/www/mod_php4/files/patch-at
new file mode 100644
index 000000000000..fbb234901747
--- /dev/null
+++ b/www/mod_php4/files/patch-at
@@ -0,0 +1,11 @@
+--- ext/pspell/pspell.c.orig Mon Feb 26 07:07:13 2001
++++ ext/pspell/pspell.c Tue Jun 12 22:08:33 2001
+@@ -32,7 +32,7 @@
+ #define USE_ORIGINAL_MANAGER_FUNCS
+
+ #include "php_pspell.h"
+-#include <pspell/pspell.h>
++#include <pspell.h>
+ #include "ext/standard/info.h"
+
+ #define PSPELL_FAST 1L
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index 1c2c69da028e..20c1317c64bb 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -33,6 +33,7 @@ XML "XML support" OFF \
FTP "File Transfer Protocol support" OFF \
CURL "CURL support" OFF \
gettext "gettext library support" OFF \
+pspell "pspell support" OFF \
japanese "jstring and mbregex module" OFF \
YP "YP/NIS support" OFF \
BCMath "BCMath support" OFF \
@@ -185,6 +186,10 @@ while [ "$1" ]; do
echo "LIB_DEPENDS+= intl.1:\${PORTSDIR}/devel/gettext"
echo "CONFIGURE_ARGS+=--with-gettext=\${PREFIX}"
;;
+ \"pspell\")
+ echo "LIB_DEPENDS+= pspell.4:\${PORTSDIR}/textproc/pspell"
+ echo "CONFIGURE_ARGS+=--with-pspell=\${PREFIX}"
+ ;;
\"japanese\")
${CAT} << EOF
MASTER_SITES+= ftp://night.fminn.nagano.nagano.jp/php4/