Ticket #24350: wxWidgets-python_Portfile.diff

File wxWidgets-python_Portfile.diff, 1.1 KB (added by jjstickel@…, 14 years ago)

add conflict to wxWidgets and flags for i386 carbon and mesa dependency for gtk2

  • graphics/wxWidgets-python/Portfile

    old new  
    55PortGroup       archcheck 1.0
    66
    77name            wxWidgets-python
    8 conflicts       wxgtk
     8conflicts       wxgtk wxWidgets
    99version         2.8.10.1
    1010categories      graphics devel
    1111platforms       darwin
     
    8585    configure.args-append --with-mac
    8686    if {$build_arch == "x86_64"} {
    8787        configure.build_arch i386
     88        configure.cflags-append -arch i386
     89        configure.ldflags-append -arch i386
     90        configure.cxxflags-append -arch i386
     91        configure.cppflags-append -arch i386
     92        configure.objcflags-append -arch i386
    8893    } elseif {$build_arch == "ppc64"} {
    8994        configure.build_arch ppc
    9095    }
     
    9499}
    95100variant gtk conflicts carbon description {use gtk} {
    96101    depends_lib-append    port:gtk2
     102    depends_lib-append    port:mesa
    97103    depends_lib-delete    path:lib/pkgconfig/sdl.pc:libsdl
    98104    depends_lib-delete    port:libsdl_mixer
    99105    archcheck.files-delete lib/libSDL.dylib \