ENV to macports

Bradley Giesbrecht brad at pixilla.com
Tue Feb 3 17:47:10 PST 2009

If your building a Portfile here is a piece of the postfix Portfile:

variant ldap description "add ldap support via openldap" {
     depends_lib-append  port:openldap
     set CCARGS      [concat ${CCARGS} -DHAS_LDAP]
     set AUXLIBS     [concat ${AUXLIBS} -lldap -llber]


On Feb 3, 2009, at 4:32 PM, Timothy Lee wrote:

> Hello!
> Quick question...
> How do I tell macports to use my CFLAGS, CXXFLAGS, LDFLAGS, and my  
> MACOSX_DEPLOYMENT_TARGET from my environment when building an app??
> Thanks!
> Tim
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

More information about the macports-users mailing list