Changeset 113899 for trunk/dports/kde


Ignore:
Timestamp:
Nov 25, 2013, 12:06:24 PM (6 years ago)
Author:
nicos@…
Message:

kstars: further corrections for when using eigen3 in compatibility mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/kde/kstars/Portfile

    r113898 r113899  
    3131depends_lib-append  port:kdelibs4 \
    3232                    port:oxygen-icons \
     33                    port:eigen \
    3334                    port:cfitsio
    3435
    3536platform darwin {
    36     if {${os.major} < 13} {
    37         #Use standard dependency
    38         depends_lib-append  port:eigen
    39     } else {
     37    if {${os.major} >= 13} {
    4038        #Use Eigen3 in compatibility mode as Eigen2 does not build on Mavericks
     39        depends_lib-delete  port:eigen
    4140        depends_lib-append  port:eigen3
    4241        patchfiles          patch-Eigen3.diff
     42
     43        post-patch {
     44            #Correct prefix if changed during patching
     45            reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/CMakeLists.txt
     46        }
    4347    }
    4448}
     
    5660
    5761pre-configure {
    58     #Correct prefix if changed during patching
    59     reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/CMakeLists.txt
    60 
    6162    #Ensure finding openGL
    6263    reinplace "s|<GL/gl.h>|<gl.h>|g" ${worksrcpath}/kstars/skyglpainter.cpp
Note: See TracChangeset for help on using the changeset viewer.