Handling of multiple Portfile versions

Rainer Müller raimue at macports.org
Mon Nov 9 13:57:57 PST 2015


On 2015-11-09 18:18, Artur Szostak wrote:
> OK, I got confused because Rainer started off with "Yes this is
> supported...", sorry.
> I conclude that what I am asking for is not supported.

Apparently I misunderstood your intention. Sorry for the confusion.

However, note that even if a port is not in any ports tree in
sources.conf, you can still just change to a directory with a Portfile
and run 'sudo port install current', which installs from the Portfile in
the current directory.

In many cases specifying the pseudo-port "current" is even optional
here, so 'sudo port fetch/configure/build/destroot' without a port name
always uses the Portfile in the current directory. This is mainly used
for port development.

I hope this helps to solve your use case.

Rainer


More information about the macports-dev mailing list