pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/depends Since hooks must not have any commands dire...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f711e82db62
branches:  trunk
changeset: 523139:8f711e82db62
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jan 02 17:23:41 2007 +0000

description:
Since hooks must not have any commands directly assigned to them, it is
safe to remove the multiple-definition-guard.

diffstat:

 mk/depends/depends.mk |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (17 lines):

diff -r ba3512e9bba0 -r 8f711e82db62 mk/depends/depends.mk
--- a/mk/depends/depends.mk     Tue Jan 02 17:22:30 2007 +0000
+++ b/mk/depends/depends.mk     Tue Jan 02 17:23:41 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: depends.mk,v 1.10 2006/07/07 21:24:28 jlam Exp $
+# $NetBSD: depends.mk,v 1.11 2007/01/02 17:23:41 rillig Exp $
 
 ######################################################################
 ### depends (PUBLIC)
@@ -70,7 +70,5 @@
 ### dependencies are installed for depends-install.
 ###
 .PHONY: pre-depends-hook
-.if !target(pre-depends-hook)
 pre-depends-hook:
        @${DO_NADA}
-.endif



Home | Main Index | Thread Index | Old Index