Problem with bsd.ports.mk
YONETANI Tomokazu
qhwt+dfly at les.ath.cx
Wed Feb 23 06:32:59 PST 2005
On Wed, Feb 23, 2005 at 03:02:59PM +0100, Joerg Sonnenberger wrote:
> On Wed, Feb 23, 2005 at 03:41:55AM -0800, walt wrote:
> > My /usr/ports and /usr/dfports are symlinks to another disk mounted
> > on /opt. When I build a DFly port override I get this warning:
> >
> > /opt/dfports/devel/libtool15 is not a subdirectory of /usr/ports
> > "/usr/share/mk/bsd.port.mk", line 6: warning: "/usr/bin/relpath /usr/ports
> > /opt/dfports/devel/libtool15" returned non-zero status
> >
> > This warning doesn't break the build, but it does break portupgrade
> > which stops with a 'broken makefile' error.
>
> That's not unexpected. Just specify the real location of
> ports and dfports in /etc/make.conf, the default would be
> PORTSIRDIR= /usr/ports
> DFPORTSDIR= /usr/dfports
I just committed a fix for libtool15, which was using <bsd.port.mk>
instead of <bsd.dfport.mk>. I also tried adding a pre-commit check
for this, but ran out of idea.
More information about the Bugs
mailing list