Ticket #32634: Portfile.diff

File Portfile.diff, 624 bytes (added by macporter90210@…, 12 years ago)

portfile diff to add debug variant - doesn't seem to work

  • Portfile

    old new  
    7272    depends_lib-append port:gcc45
    7373}
    7474
     75variant apple42debug conflicts gcc42 gcc43 gcc44 gcc45 {Build with apple-gcc-4.2 and debug symbols} {
     76    configure.compiler apple-gcc-4.2
     77    configure.args-append CFLAGS='-g -O2'
     78    configure.args-append CXXFLAGS='-g -O2'
     79}
     80
    7581variant aqua description {Enable quartz graphics device} {
    7682    if {${os.platform} == "darwin" && ${os.major} == 10} {
    7783        # This variant uses a hack in "CFString.h" that does not define the problematic CF_FORMAT_FUNCTION