[120466] trunk/dports/kde/kstars

nicos at macports.org nicos at macports.org
Thu May 29 02:15:18 PDT 2014


Revision: 120466
          https://trac.macports.org/changeset/120466
Author:   nicos at macports.org
Date:     2014-05-29 02:15:18 -0700 (Thu, 29 May 2014)
Log Message:
-----------
kstars: re-enable use of eigen version 2 on Mavericks

Modified Paths:
--------------
    trunk/dports/kde/kstars/Portfile

Removed Paths:
-------------
    trunk/dports/kde/kstars/files/patch-Eigen3.diff

Modified: trunk/dports/kde/kstars/Portfile
===================================================================
--- trunk/dports/kde/kstars/Portfile	2014-05-29 09:03:44 UTC (rev 120465)
+++ trunk/dports/kde/kstars/Portfile	2014-05-29 09:15:18 UTC (rev 120466)
@@ -6,6 +6,7 @@
 
 name                kstars
 version             4.12.5
+revision            1
 categories          kde kde4
 platforms           darwin
 license             GPL-2+
@@ -33,20 +34,6 @@
                     port:eigen \
                     port:cfitsio
 
-platform darwin { 
-    if {${os.major} >= 13} { 
-        #Use Eigen3 in compatibility mode as Eigen2 does not build on Mavericks
-        depends_lib-delete  port:eigen
-        depends_lib-append  port:eigen3
-        patchfiles          patch-Eigen3.diff
-
-        post-patch {
-            #Correct prefix if changed during patching
-            reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/CMakeLists.txt
-        }
-    }
-}
-
 patchfiles-append   patch-CMakeLists.txt.diff \
                     patch-starobject.diff
 

Deleted: trunk/dports/kde/kstars/files/patch-Eigen3.diff
===================================================================
--- trunk/dports/kde/kstars/files/patch-Eigen3.diff	2014-05-29 09:03:44 UTC (rev 120465)
+++ trunk/dports/kde/kstars/files/patch-Eigen3.diff	2014-05-29 09:15:18 UTC (rev 120466)
@@ -1,15 +0,0 @@
---- CMakeLists.txt.orig	2013-11-24 23:21:08.000000000 +0900
-+++ CMakeLists.txt	2013-11-24 23:21:28.000000000 +0900
-@@ -15,7 +15,11 @@
- # some configure checks needed for kstars
- include(CheckIncludeFiles)
- 
--find_package(Eigen2 2.0.3)
-+
-+set (EIGEN2_FOUND TRUE)
-+set (EIGEN2_INCLUDE_DIR @PREFIX@/include/eigen3)
-+SET( CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -DEIGEN2_SUPPORT_STAGE10_FULL_EIGEN2_API" )
-+#find_package(Eigen2 2.0.3)
- macro_log_feature(EIGEN2_FOUND "Eigen2" "Required to build KStars." "http://eigen.tuxfamily.org" TRUE "2.0.3" "")
- 
- macro_optional_find_package(CFitsio)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140529/8a9315f4/attachment.html>


More information about the macports-changes mailing list