On 2012-07-31, at 2:30 PM, Ryan Schmidt <[email protected]> wrote:

> 
> On Jul 31, 2012, at 13:12, Yury Selivanov <[email protected]> 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

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to