a way to specify that the port is source-only
Ryan Schmidt
ryandesign at macports.org
Tue Jul 31 11:30:31 PDT 2012
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.
More information about the macports-dev
mailing list