Changeset 98113


Ignore:
Timestamp:
Sep 25, 2012, 12:22:01 PM (12 years ago)
Author:
and.damore@…
Message:

port wxmaxima: choose right SDK using Xcode 4.4.x on 10.7, better handle wxwidgets dependency; ticket #36157; maintainer timeout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/wxMaxima/Portfile

    r90349 r98113  
    2424                path:lib/pkgconfig/sdl.pc:libsdl \
    2525                port:libxml2 \
    26                 bin:wx-config:wxWidgets \
     26                port:wxWidgets \
    2727                port:zlib
    2828depends_run     port:maxima
    2929
    3030platform darwin 11 {
    31     if {[vercmp $xcodeversion 4.3] >= 0} {
     31    if {[vercmp $xcodeversion 4.4] >= 0} {
     32        configure.cxxflags-append -isysroot ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
     33    } elseif {[vercmp $xcodeversion 4.3] >= 0} {
    3234        configure.cxxflags-append -isysroot ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
    3335    } else {
     
    4547build.target-append wxMaxima.app
    4648
     49if {[catch {registry_active wxwidgets-devel}] == 0} {
     50    default_variants +wxwidgets_devel
     51}
     52
    4753destroot {
    4854    xinstall -m 755 -d ${destroot}${applications_dir}
     
    5561    }
    5662}
     63
     64variant wxwidgets_devel description {Build against wxWidgets-devel rather than wxWidgets} {
     65    # if the user has installed wxWidgets-devel, force using that
     66    # (from gobject-introspection)
     67    depends_lib-delete  port:wxWidgets
     68    depends_lib-append  port:wxWidgets-devel
     69    supported_archs     i386 x86_64
     70}
Note: See TracChangeset for help on using the changeset viewer.