Problem with bsd.ports.mk

Joerg Sonnenberger joerg at britannica.bec.de
Wed Feb 23 06:05:45 PST 2005


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

Joerg





More information about the Bugs mailing list