[112612] trunk/dports/science/ds9

aronnax at macports.org aronnax at macports.org
Sun Oct 27 19:00:13 PDT 2013


Revision: 112612
          https://trac.macports.org/changeset/112612
Author:   aronnax at macports.org
Date:     2013-10-27 19:00:13 -0700 (Sun, 27 Oct 2013)
Log Message:
-----------
ds9: enable Mavericks support, fixes #41009

FIXME: Remove added Mavericks-specific Makefile when upstream provides it

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

Added Paths:
-----------
    trunk/dports/science/ds9/files/make.darwin64x86mavericks

Modified: trunk/dports/science/ds9/Portfile
===================================================================
--- trunk/dports/science/ds9/Portfile	2013-10-28 01:02:03 UTC (rev 112611)
+++ trunk/dports/science/ds9/Portfile	2013-10-28 02:00:13 UTC (rev 112612)
@@ -64,8 +64,11 @@
 platform darwin 12 {
     set ds9platform mountainlion
 }
+platform darwin 13 {
+    set ds9platform mavericks
+}
 platform darwin {
-    if {${os.major} >= 13} {
+    if {${os.major} >= 14} {
         depends_lib
         depends_run
         pre-fetch {
@@ -92,6 +95,9 @@
                         patch-ds9_Makefile.diff
 
 post-patch {
+    # FIXME: Remove the following line once a Makefile for Mavericks is
+    # included upstream
+    file copy ${filespath}/make.darwin64x86mavericks ${worksrcpath}
     reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/Makefile
 }
 

Added: trunk/dports/science/ds9/files/make.darwin64x86mavericks
===================================================================
--- trunk/dports/science/ds9/files/make.darwin64x86mavericks	                        (rev 0)
+++ trunk/dports/science/ds9/files/make.darwin64x86mavericks	2013-10-28 02:00:13 UTC (rev 112612)
@@ -0,0 +1,36 @@
+# make sure installed: PKG_CONFIG for Xft, see notes
+
+OS	= unix
+ARCH	= darwin64x86mavericks
+
+X11INCLUDE=/usr/X11/include
+X11LIB	= /usr/X11/lib
+EXTTCLFLAGS=--disable-corefoundation
+
+XX	= -O2 
+YY	= -gstabs+ -fno-inline 
+ZZ	= -m64 -arch x86_64 -mmacosx-version-min=10.9
+
+AA	= -fPIC -DHAVE_SYS_UN_H -DHAVE_SYS_SHM_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__M64
+
+#OPTS	= ${XX} ${ZZ}
+OPTS	= ${YY} ${ZZ}
+NOPTS	= ${YY} ${ZZ}
+
+CXX	= g++
+CXXOPT	= ${OPTS} ${AA}
+CXXNOPT	= ${NOPTS} ${AA}
+
+CC	= gcc
+CCOPT	= ${OPTS} ${AA}
+CCNOPT	= ${NOPTS} ${AA}
+
+ZCAT	= gzcat
+
+CODESIGN = codesign
+ZIPFILE = ds9.zip
+FILTERCOMPILER = pcc-i386-snowleopard.tar.gz
+
+ASTFLAGS = star_cv_cnf_trail_type=long
+JOBS = 4
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131027/d77ea6fc/attachment.html>


More information about the macports-changes mailing list