Make sure PORTSDIR is not in the environment when bootstrapping a
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 13 Oct 2003 23:57:41 +0000 (23:57 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 13 Oct 2003 23:57:41 +0000 (23:57 +0000)
DragonFly port from a FreeBSD port.

share/mk/bsd.port.mk

index 0229033..8ccdabc 100644 (file)
@@ -1,5 +1,5 @@
 # $FreeBSD: src/share/mk/bsd.port.mk,v 1.303.2.2 2002/07/17 19:08:23 ru Exp $
-# $DragonFly: src/share/mk/Attic/bsd.port.mk,v 1.5 2003/10/12 01:43:59 dillon Exp $
+# $DragonFly: src/share/mk/Attic/bsd.port.mk,v 1.6 2003/10/13 23:57:41 dillon Exp $
 
 PORTSDIR?=     /usr/ports
 DFPORTSDIR?=   /usr/dfports
@@ -47,6 +47,7 @@ TARGETS+=     reinstall
 TARGETS+=      install
 TARGETS+=      tags
 
+.undef PORTSDIR
 .BEGIN:
        @echo "WARNING, USING DRAGONFLY OVERRIDE ${DFPORTSDIR}/${PORTPATH}"
        cd ${DFPORTSDIR}/${PORTPATH} && ${MAKE} -B ${.TARGETS}