pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/bootstrap-mk-files Update bsd.files.mk multip...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75210096ad0e
branches:  trunk
changeset: 569367:75210096ad0e
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Jan 15 22:00:36 2010 +0000

description:
Update bsd.files.mk multiple include protection to use the same mechanism
as in the base NetBSD system - fixes PR pkg/39715

diffstat:

 pkgtools/bootstrap-mk-files/Makefile           |  3 ++-
 pkgtools/bootstrap-mk-files/files/bsd.files.mk |  8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 7fd364620a1e -r 75210096ad0e pkgtools/bootstrap-mk-files/Makefile
--- a/pkgtools/bootstrap-mk-files/Makefile      Fri Jan 15 22:00:19 2010 +0000
+++ b/pkgtools/bootstrap-mk-files/Makefile      Fri Jan 15 22:00:36 2010 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2009/08/07 07:48:59 dsainty Exp $
+# $NetBSD: Makefile,v 1.24 2010/01/15 22:00:36 abs Exp $
 
 DISTNAME=      bootstrap-mk-files-20090807
+PKGREVISION=   1
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 7fd364620a1e -r 75210096ad0e pkgtools/bootstrap-mk-files/files/bsd.files.mk
--- a/pkgtools/bootstrap-mk-files/files/bsd.files.mk    Fri Jan 15 22:00:19 2010 +0000
+++ b/pkgtools/bootstrap-mk-files/files/bsd.files.mk    Fri Jan 15 22:00:36 2010 +0000
@@ -1,7 +1,7 @@
-#      $NetBSD: bsd.files.mk,v 1.1.1.1 2006/07/14 23:13:00 jlam Exp $
+#      $NetBSD: bsd.files.mk,v 1.2 2010/01/15 22:00:36 abs Exp $
 
-# This file can be included multiple times.  It clears the definition of
-# FILES at the end so that this is possible.
+.if !defined(_BSD_FILES_MK_)
+_BSD_FILES_MK_=1
 
 .PHONY:                filesinstall
 realinstall:   filesinstall
@@ -37,4 +37,4 @@
 filesinstall::
 .endif
 
-FILES:=
+.endif # !defined(_BSD_FILES_MK_)



Home | Main Index | Thread Index | Old Index