Ports issues?

YONETANI Tomokazu qhwt+dragonfly-bugs at les.ath.cx
Sun Jan 25 06:34:39 PST 2004


Hi,

On Sun, Jan 25, 2004 at 01:06:39AM +0000, Adam K Kirchhoff wrote:
> I'm not sure if I'm doing something stupid (though I think I've covered
> all the bases), but doing a "make clean" in
> /usr/ports/x11-wm/fluxbox-devel gives the following error:
> 
> [ root at sorrow - /usr/ports/x11-wm/fluxbox-devel ]: make clean
> /usr/dfports/print/freetype2 is not a subdirectory of /usr/ports
> "/usr/share/mk/bsd.port.mk", line 6: warning: "/usr/bin/relpath \
> 	/usr/ports /usr/dfports/print/freetype2" returned non-zero status 
> cd: can't cd to &&

Same here. My observation is that all-depends-list target is broken
because of the output from dfport override mechanism.

Index: bsd.port.mk
===================================================================
RCS file: /home/source/dragonfly/cvs/src/share/mk/bsd.port.mk,v
retrieving revision 1.8
diff -u -r1.8 bsd.port.mk
--- bsd.port.mk	21 Jan 2004 19:40:57 -0000	1.8
+++ bsd.port.mk	25 Jan 2004 14:30:05 -0000
@@ -61,8 +61,8 @@
 
 .undef PORTSDIR
 .BEGIN:
-	@echo "WARNING, USING DRAGONFLY OVERRIDE ${DFPORTSDIR}/${PORTPATH}"
-	cd ${DFPORTSDIR}/${PORTPATH} && ${MAKE} -B ${.TARGETS}
+	@echo "WARNING, USING DRAGONFLY OVERRIDE ${DFPORTSDIR}/${PORTPATH}" >&2
+	@cd ${DFPORTSDIR}/${PORTPATH} && ${MAKE} -B ${.TARGETS}
 
 ${.TARGETS}:
 





More information about the Bugs mailing list