redports.org - The public FreeBSD ports development
decke at bluelife.at
Mon Jan 2 10:56:54 UTC 2012
On 01.01.2012 21:03, Vitaly Magerya wrote:
> Hi again. I've got this issue: an update to one port depends on an
> update to another one, and I'd like to test both before submitting.
> So the question is this: if I've got both ports in the repository,
> when rebuilding the dependent port, will redports use the dependency
> from official ports tree, or from my repository?
Redports will use your whole repository as an overlay to the original
ports tree but it also caches already build packages based on
PKGVERSION. So if you have a port in your tree which is different
from the original port then you should take care that you bump
PORTREVISION or PORTVERSION/DISTVERSION.
To do what you want just commit both ports to your tree and trigger
a build of the slave port. You can verify that everything was as
expected by looking at the buildlog where you can see which packages
in which versions were used as dependency.
More information about the freebsd-ports