Ticket #55054: patch-portconfigure.tcl.diff

File patch-portconfigure.tcl.diff, 1.1 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 7 years ago)
  • src/port1.0/portconfigure.tcl

    diff --git a/src/port1.0/portconfigure.tcl b/src/port1.0/portconfigure.tcl
    index eac2c649..442cb87b 100644
    a b proc portconfigure::configure_main {args} { 
    818818            CC CXX OBJC OBJCXX FC F77 F90 JAVAC \
    819819            CFLAGS CPPFLAGS CXXFLAGS OBJCFLAGS OBJCXXFLAGS \
    820820            FFLAGS F90FLAGS FCFLAGS LDFLAGS LIBS CLASSPATH \
    821             PERL PYTHON RUBY INSTALL AWK BISON PKG_CONFIG PKG_CONFIG_PATH \
     821            PERL PYTHON RUBY INSTALL AWK BISON PKG_CONFIG \
    822822        } {
    823823            set value [option configure.[string tolower $env_var]]
    824824            append_to_environment_value configure $env_var {*}$value
    825825        }
    826826
     827        foreach env_var { \
     828            PKG_CONFIG_PATH \
     829        } {
     830            set value [option configure.[string tolower $env_var]]
     831            append_to_environment_value configure $env_var [join $value ":"]
     832        }
     833
    827834        # https://trac.macports.org/ticket/34221
    828835        if {${os.platform} eq "darwin" && ${os.major} == 12} {
    829836            append_to_environment_value configure "__CFPREFERENCES_AVOID_DAEMON" 1