[148271] trunk/dports/science/kst/Portfile

nicos at macports.org nicos at macports.org
Mon May 2 04:35:32 PDT 2016


Revision: 148271
          https://trac.macports.org/changeset/148271
Author:   nicos at macports.org
Date:     2016-05-02 04:35:31 -0700 (Mon, 02 May 2016)
Log Message:
-----------
kst: do not force using clang on older platforms (ticket #51274)

Modified Paths:
--------------
    trunk/dports/science/kst/Portfile

Modified: trunk/dports/science/kst/Portfile
===================================================================
--- trunk/dports/science/kst/Portfile	2016-05-02 11:06:51 UTC (rev 148270)
+++ trunk/dports/science/kst/Portfile	2016-05-02 11:35:31 UTC (rev 148271)
@@ -39,9 +39,14 @@
 configure.args-append    -Dkst_install_prefix=${applications_dir} \
                          -Dkst_install_libdir=lib \
                          -Dkst_release=ON \
-                         -Dkst_clang=ON \
                          -Dkst_3rdparty=ON
 
+platform darwin {
+    if {${os.major} > 11} {
+        configure.args-append    -Dkst_clang=ON
+    }
+}
+
 post-destroot {
     move ${destroot}${applications_dir}/share/kst ${destroot}${prefix}/share
     delete ${destroot}${prefix}/lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160502/f4f827ae/attachment.html>


More information about the macports-changes mailing list