From 5e2a5d3a9b88c269e52de3e80a3e2ca555ef3588 Mon Sep 17 00:00:00 2001 From: Marius Schamschula Date: Wed, 18 Oct 2017 20:55:29 -0500 Subject: [PATCH] hunspell-en: use MacPorts perl Closes: https://trac.macports.org/ticket/55116 --- textproc/hunspell-en/Portfile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/textproc/hunspell-en/Portfile b/textproc/hunspell-en/Portfile index 36a2b6c827e6b..05b5dd554483d 100644 --- a/textproc/hunspell-en/Portfile +++ b/textproc/hunspell-en/Portfile @@ -4,7 +4,7 @@ PortSystem 1.0 name hunspell-en version 2017.08.24 -revision 1 +revision 2 distname scowl-${version} categories textproc license permissive @@ -49,6 +49,17 @@ subport hunspell-en { } } +# use MacPorts perl https://trac.macports.org/ticket/55116 +pre-configure { + reinplace -locale C -W ${worksrcpath} "s|/usr/bin/perl|${prefix}/bin/perl|g" mk-list + reinplace -locale C -W ${worksrcpath}/speller "s|/usr/bin/perl|${prefix}/bin/perl|g" \ + add-no-suggest munch-list + reinplace -locale C -W ${worksrcpath}/src "s|/usr/bin/perl|${prefix}/bin/perl|g" \ + add-accents add-affixes add-other-forms add-other-spellings clean-alan-list \ + cmp-final count find-ss get-level make-README proc-alt12dicts proc-census \ + proc-neol proc-uk-freq-class rand-sample.pl rand-samples remove-plurals +} + subport hunspell-en_AU { long_description ${description}: AU English dictionary