diff options
author | adamw <adamw@FreeBSD.org> | 2015-10-04 02:04:52 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2015-10-04 02:04:52 +0800 |
commit | ff4361540dfd290f2dd8be20844eb3339c1c2ed4 (patch) | |
tree | b854c02886a81f7cd27328304b785924152ae493 /mail | |
parent | d364d826626de61f75f14140b392de13b3f249f4 (diff) | |
download | freebsd-ports-gnome-ff4361540dfd290f2dd8be20844eb3339c1c2ed4.tar.gz freebsd-ports-gnome-ff4361540dfd290f2dd8be20844eb3339c1c2ed4.tar.zst freebsd-ports-gnome-ff4361540dfd290f2dd8be20844eb3339c1c2ed4.zip |
ispell isn't available in FreeBSD and hasn't been for quite some time.
Change references to ispell into aspell, which is readily available.
PR: 202980
Submitted by: mcdouga9@egr.msu.edu
Diffstat (limited to 'mail')
-rw-r--r-- | mail/squirrelmail/Makefile | 4 | ||||
-rw-r--r-- | mail/squirrelmail/files/patch-plugins__squirrelspell__sqspell_config.php | 12 |
2 files changed, 14 insertions, 2 deletions
diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile index 22cb282657fb..77eea0104ee4 100644 --- a/mail/squirrelmail/Makefile +++ b/mail/squirrelmail/Makefile @@ -3,7 +3,7 @@ PORTNAME= squirrelmail PORTVERSION= 20150324 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail www MASTER_SITES= LOCAL/adamw/squirrelmail DISTNAME= ${PORTNAME}-${PORTVERSION}_0200-SVN.stable @@ -52,7 +52,7 @@ DATABASE_RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear- LDAP_USE= PHP=ldap post-patch: - @${REINPLACE_CMD} -e 's|ispell|${LOCALBASE}/bin/ispell|g' \ + @${REINPLACE_CMD} -e 's|ispell|${LOCALBASE}/bin/aspell|g' \ ${WRKSRC}/plugins/squirrelspell/sqspell_config.php @${REINPLACE_CMD} -e 's|/usr/bin/fortune|/usr/games/fortune|g' \ ${WRKSRC}/plugins/fortune/fortune_functions.php diff --git a/mail/squirrelmail/files/patch-plugins__squirrelspell__sqspell_config.php b/mail/squirrelmail/files/patch-plugins__squirrelspell__sqspell_config.php new file mode 100644 index 000000000000..5923931d5078 --- /dev/null +++ b/mail/squirrelmail/files/patch-plugins__squirrelspell__sqspell_config.php @@ -0,0 +1,12 @@ +--- plugins/squirrelspell/sqspell_config.php.orig 2015-10-03 17:59:19 UTC ++++ plugins/squirrelspell/sqspell_config.php +@@ -22,9 +22,6 @@ sqgetGlobalVar('username', $username, SQ + * + * $SQSPELL_APP = array( 'English' => 'ispell -a', + * 'Spanish' => 'ispell -d spanish -a' ); +- * You can replace ispell with aspell keeping the same commandline: +- * $SQSPELL_APP = array( 'English' => 'aspell -a', +- * 'Spanish' => 'aspell -d spanish -a' ); + */ + $SQSPELL_APP = array('English' => 'ispell -a', + 'Spanish' => 'ispell -d spanish -a'); |