build.args arg="FLAG1 FLAG2"

Jeremy Lavergne jeremy at lavergne.gotdns.org
Mon Jul 4 18:31:45 PDT 2011


> This sounds very similar to what postfix does.

postfix employs ldelete as well, but I'm curious must one re-set the variable (CCARGS) after deleting from it?

variant pcre description "add pcre support" {
    set CCARGS      [ldelete ${CCARGS} -DNO_PCRE]
    lappend CCARGS  -DHAS_PCRE "-I${prefix}/include"
    lappend AUXLIBS "-L${prefix}/lib" -lpcre
    depends_lib-append  port:pcre
}

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3749 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20110704/980fcbd3/attachment.bin>


More information about the macports-dev mailing list