Revision: 148903 https://trac.macports.org/changeset/148903 Author: jeremyhu@macports.org Date: 2016-05-22 10:08:04 -0700 (Sun, 22 May 2016) Log Message: ----------- enchant: Default to +aspell for Mountain Lion and earlier Modified Paths: -------------- trunk/dports/textproc/enchant/Portfile Modified: trunk/dports/textproc/enchant/Portfile =================================================================== --- trunk/dports/textproc/enchant/Portfile 2016-05-22 17:03:16 UTC (rev 148902) +++ trunk/dports/textproc/enchant/Portfile 2016-05-22 17:08:04 UTC (rev 148903) @@ -43,8 +43,13 @@ --disable-zemberek \ --with-myspell-dir=${prefix}/share/hunspell -# users most likely have AppleSpell already set up for their language -default_variants +applespell +# https://trac.macports.org/ticket/51287 +if {${os.platform} eq "darwin" && ${os.major} >= 13} { + # users most likely have AppleSpell already set up for their language + default_variants +applespell +} else { + default_variants +aspell +} variant ispell description {Enable ispell backend} { configure.args-replace --disable-ispell --enable-ispell
participants (1)
-
jeremyhu@macports.org