[62666] trunk/dports/devel/git-core/Portfile

Ryan Schmidt ryandesign at macports.org
Wed Jan 13 14:39:51 PST 2010


On Jan 13, 2010, at 11:25, sharky at macports.org wrote:

> set CFLAGS     "-Wall -O2 -I${prefix}/include ${configure.cc_archflags}"
> -set LDFLAGS    "-L${prefix}/lib ${configure.ld_archflags}"
> +set LDFLAGS    "-L${prefix}/lib"
> 
> build.args     CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
>                CC=${configure.cc} \

I'm curious why you're setting new variables CFLAGS and LDFLAGS, and not using the variables that already exist for this purpose, namely configure.cflags, configure.cppflags, configure.cxxflags, configure.ldflags, etc.




More information about the macports-dev mailing list