[148903] trunk/dports/textproc/enchant/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun May 22 10:08:04 PDT 2016


Revision: 148903
          https://trac.macports.org/changeset/148903
Author:   jeremyhu at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160522/60f73c10/attachment.html>


More information about the macports-changes mailing list