variants

Scott Webster sewebster at gmail.com
Wed Mar 23 11:18:05 PDT 2011


On Wed, Mar 23, 2011 at 10:19 AM, Matthew Wallis
<matthew at worldaccent.com> wrote:
> I'm wondering with Macports if it's possible when installing a port to specify a configure script argument that is not one of the list of variants that appears with that port?
>

Probably the way to accomplish this is to create a custom repository
of portfiles (likely containing only the single port you want to
modify) and then edit the portfile to accomplish your desires.  This
is basically described in the Macports Guide.

You could probably accomplish what you want in a slightly easier
fashion, but it would then get wiped out whenever the port gets
upgraded, so the custom repository method is required to accomplish
what you want on a longer timescale.

I could be wrong though.

Scott


More information about the macports-users mailing list