a way to specify that the port is source-only
Yury Selivanov
yselivanov.ml at gmail.com
Tue Jul 31 11:37:58 PDT 2012
On 2012-07-31, at 2:30 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
>
> On Jul 31, 2012, at 13:12, Yury Selivanov <yselivanov.ml at gmail.com> wrote:
>
>> Is it possible to specify in the *Portfile* that this particular
>> port should be always compiled and never fetched precompiled?
>>
>> Problem:
>>
>> I have some ports patched and being distributed through the
>> company's own portfile repo. Let's say I have a custom
>> "postgresql91" port with our custom patches. Now, on many
>> machines, instead of building it, it just downloads a pre-built
>> version. Can we add an option in Portfiles, like
>> "source_only yes"
>> or something like that?
>
> Yes, add this line to such portfiles:
>
> archive_sites
>
> This clears the MacPorts default value for archive_sites, causing MacPorts to no longer have anyplace to fetch an archive for this port from. We already do this in several official portfiles.
Thanks! That seems to be working fine.
-
Yury
More information about the macports-dev
mailing list