Skip to content

Commit

Permalink
hunspell-en: use MacPorts perl
Browse files Browse the repository at this point in the history
  • Loading branch information
Schamschula committed Oct 19, 2017
1 parent f3b4255 commit 5e2a5d3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion textproc/hunspell-en/Portfile
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 5e2a5d3

Please sign in to comment.