Adding configure options when installing a port

Scott Webster sewebster at
Wed Jun 16 11:29:04 PDT 2010

On Wed, Jun 16, 2010 at 11:24 AM, Richard Tobin <richard at> wrote:
>> > I want to build a port with an extra configure option.  Specifically,
>> > I want to build squid3 with the --enable-useragent-log option.
>> Edit the portfile. configure.args-append is a procedure, not a variable.
>> You can set variables on the command line but you can't call procedures.
> Thanks.
> It does seem rather a sledgehammer to crack a nut, though.

It seems that it would be fairly straightforward to add an empty
default keyword, eg. configure.extraargs, that would enable this sort
of thing, but changing the Portfile isn't so hard either.


More information about the macports-users mailing list