Ticket #40155: serf1-portfile-40155-possible-fix-for-all-osx-versions.diff

File serf1-portfile-40155-possible-fix-for-all-osx-versions.diff, 740 bytes (added by mp@…, 11 years ago)

New Portfile patch that uses the scons patch that should work for all OS X versions

  • ports/www/serf1/Portfile

    old new  
    3232
    3333variant universal {}
    3434
     35patchfiles      patch-sconstruct.diff
     36
    3537build.cmd       ${prefix}/bin/scons
    3638
    3739build.args      CC=${configure.cc} \
     
    3941                CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
    4042                LINKFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
    4143
     44platform darwin 8 {
     45    build.args-append CC="MACOSX_DEPLOYMENT_TARGET=10.4 ${configure.cc}"
     46}
     47
    4248build.target    APR=${prefix} \
    4349                APU=${prefix} \
    4450                OPENSSL=${prefix} \