pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk add a missing .PHONY: Now if you do something like



details:   https://anonhg.NetBSD.org/pkgsrc/rev/20db04f783ab
branches:  trunk
changeset: 507199:20db04f783ab
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Sun Jan 29 01:39:01 2006 +0000

description:
add a missing .PHONY:  Now if you do something like

 cd pkgsrc/foo
 touch fetch
 make fetch

you get the correct behaviour.

diffstat:

 mk/bsd.pkg.subdir.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 145460875be2 -r 20db04f783ab mk/bsd.pkg.subdir.mk
--- a/mk/bsd.pkg.subdir.mk      Sun Jan 29 01:30:20 2006 +0000
+++ b/mk/bsd.pkg.subdir.mk      Sun Jan 29 01:39:01 2006 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.subdir.mk,v 1.60 2005/11/14 04:44:25 rillig Exp $
+#      $NetBSD: bsd.pkg.subdir.mk,v 1.61 2006/01/29 01:39:01 dmcmahill Exp $
 #      Derived from: FreeBSD Id: bsd.port.subdir.mk,v 1.19 1997/03/09 23:10:56 wosch Exp
 #      from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
 #
@@ -93,6 +93,7 @@
                check-vulnerable \
                ${PKG_MISC_TARGETS}
 .if !target(__target)
+.PHONY: ${__target}
 ${__target}: _SUBDIRUSE
 .endif
 .endfor



Home | Main Index | Thread Index | Old Index