Fix a stupid fault in the last condition. The code should be skipped, if
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 27 Nov 2004 13:22:26 +0000 (13:22 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 27 Nov 2004 13:22:26 +0000 (13:22 +0000)
the variable DFPORTS_WARNING is already defined, not the other way around.

share/mk/bsd.port.mk

index 909a3ad..aee67fb 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.21 2004/11/26 14:06:57 joerg Exp $
+# $DragonFly: src/share/mk/Attic/bsd.port.mk,v 1.22 2004/11/27 13:22:26 joerg Exp $
 
 PORTSDIR?=     /usr/ports
 DFPORTSDIR?=   /usr/dfports
@@ -80,7 +80,7 @@ TARGETS+=     tags
 .undef PORTSDIR
 .if !make(package-depends-list) && !make(all-depends-list) && \
     !make(run-depends-list) && !make(build-depends-list) && \
-    !make(describe) && defined(DFPORTS_WARNING)
+    !make(describe) && !defined(DFPORTS_WARNING)
 .BEGIN:
        @echo "WARNING, USING DRAGONFLY OVERRIDE ${DFPORTSDIR}/${PORTPATH}"
        cd ${DFPORTSDIR}/${PORTPATH} && ${MAKE} -B ${.TARGETS}