[110646] trunk/dports/science/ds9/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Sep 2 17:51:22 PDT 2013


Revision: 110646
          https://trac.macports.org/changeset/110646
Author:   jeremyhu at macports.org
Date:     2013-09-02 17:51:22 -0700 (Mon, 02 Sep 2013)
Log Message:
-----------
ds9: Update blacklisting

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

Modified: trunk/dports/science/ds9/Portfile
===================================================================
--- trunk/dports/science/ds9/Portfile	2013-09-03 00:42:09 UTC (rev 110645)
+++ trunk/dports/science/ds9/Portfile	2013-09-03 00:51:22 UTC (rev 110646)
@@ -64,6 +64,16 @@
 platform darwin 12 {
     set ds9platform mountainlion
 }
+platform darwin {
+    if {${os.major} >= 13} {
+        depends_lib
+        depends_run
+        pre-fetch {
+            ui_error "$name does not build on Mavericks or later."
+            error "unsupported platform"
+        }
+    }
+}
 
 if {${configure.build_arch} == "ppc"} {
     set ds9arch ppc
@@ -85,12 +95,14 @@
     reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/Makefile
 }
 
-compiler.blacklist      clang
+# Buggy C++
+compiler.blacklist      *clang*
 
 # The 'configure' stage for ds9 consists of copying or symbolically linking a
 # platform-specific file to 'make.include'.
 configure {
     file copy ${worksrcpath}/make.darwin${ds9arch}${ds9platform} ${worksrcpath}/make.include
+    reinplace "s|-gstabs+||g" ${worksrcpath}/make.include
 }
 
 use_parallel_build      no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130902/d6710d55/attachment.html>


More information about the macports-changes mailing list