diff options
author | dirk <dirk@FreeBSD.org> | 2001-06-13 04:19:46 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2001-06-13 04:19:46 +0800 |
commit | 15c84edce89f302733ccfe051050e114e6c55773 (patch) | |
tree | 16118cc63c22fcfc517cf2205b8d2e5908f02af9 /www/mod_php4 | |
parent | 5fb507482b36d19b02380959f5dbb038cbb116dd (diff) | |
download | freebsd-ports-graphics-15c84edce89f302733ccfe051050e114e6c55773.tar.gz freebsd-ports-graphics-15c84edce89f302733ccfe051050e114e6c55773.tar.zst freebsd-ports-graphics-15c84edce89f302733ccfe051050e114e6c55773.zip |
Add pspell support option.
PR: ports/27256
Diffstat (limited to 'www/mod_php4')
-rw-r--r-- | www/mod_php4/files/patch-at | 11 | ||||
-rw-r--r-- | www/mod_php4/scripts/configure.php | 5 |
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 00000000000..fbb23490174 --- /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 1c2c69da028..20c1317c64b 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/ |