[113899] trunk/dports/kde/kstars/Portfile
nicos at macports.org
nicos at macports.org
Mon Nov 25 04:06:24 PST 2013
Revision: 113899
https://trac.macports.org/changeset/113899
Author: nicos at macports.org
Date: 2013-11-25 04:06:24 -0800 (Mon, 25 Nov 2013)
Log Message:
-----------
kstars: further corrections for when using eigen3 in compatibility mode
Modified Paths:
--------------
trunk/dports/kde/kstars/Portfile
Modified: trunk/dports/kde/kstars/Portfile
===================================================================
--- trunk/dports/kde/kstars/Portfile 2013-11-25 11:52:41 UTC (rev 113898)
+++ trunk/dports/kde/kstars/Portfile 2013-11-25 12:06:24 UTC (rev 113899)
@@ -30,16 +30,20 @@
depends_lib-append port:kdelibs4 \
port:oxygen-icons \
+ port:eigen \
port:cfitsio
platform darwin {
- if {${os.major} < 13} {
- #Use standard dependency
- depends_lib-append port:eigen
- } else {
+ 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
+ }
}
}
@@ -55,9 +59,6 @@
}
pre-configure {
- #Correct prefix if changed during patching
- reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/CMakeLists.txt
-
#Ensure finding openGL
reinplace "s|<GL/gl.h>|<gl.h>|g" ${worksrcpath}/kstars/skyglpainter.cpp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131125/ca2ae295/attachment.html>
More information about the macports-changes
mailing list