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]
}


//Brad

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
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to