Unable to install devel/bazaar with MP 1.6

markd at macports.org markd at macports.org
Sat Mar 29 22:05:42 PDT 2008


>        Take a look at r31808 which I just committed, it turned out to be
>a
>bug in the way the Portfile was declaring its environment requirements:
>
>Correct erroneous quoting in environment variables passed to
>MacPorts. These we written with nested quoting
>as, e.g, "-L'${prefix}/lib'", but ever since Paul reworked our
>environemt parser back in 1.4.x days and then
>Anders fixed a bug in the new parser in r30273 (which happened after
>the 1.5.2 release), the '' subquoting
>level is illegal. Now a simple "-L${prefix}/lib", or even -L${prefix}/
>lib without any quoting at all, suffices.
>
>This commit fixes building and destrooting of bazaar per Adam Mercer
>(ram)'s bug on the dev list. It turned out
>to not be a regression with respect to 1.5.s as I anticipated, but
>rather and improper declaration of the environment,
>which only worked back in 1.5.2 days as a side effect of the bug
>Anders fixed in r30273, if I'm not mistaken.
>
>        Mark, would it be possible to have this (guidelines for proper
>environment declarations within a Portfile) documented somewhere in
>the guide? Thanks!
>
>        Regards,...
>
>
>-jmpp

Hi Juan,

I'm running a few months behind, but I'm not really sure how to describe
proper environment declarations generally.  What other guidelines can we
come up with besides "no double quoting"? 

Mark



More information about the macports-dev mailing list