summaryrefslogtreecommitdiff
path: root/pkgtools/bootstrap-mk-files/files
diff options
context:
space:
mode:
authorabs <abs>2010-01-15 22:00:36 +0000
committerabs <abs>2010-01-15 22:00:36 +0000
commitb956b7d597add574e70d18af14ff36966cb6697f (patch)
treec75df84266ca1e5785679f6b5ab90c803f6faa2a /pkgtools/bootstrap-mk-files/files
parentd4e6bf8da5a0283b575d6d07fa84199d1fe98d34 (diff)
downloadpkgsrc-b956b7d597add574e70d18af14ff36966cb6697f.tar.gz
Update bsd.files.mk multiple include protection to use the same mechanism
as in the base NetBSD system - fixes PR pkg/39715
Diffstat (limited to 'pkgtools/bootstrap-mk-files/files')
-rw-r--r--pkgtools/bootstrap-mk-files/files/bsd.files.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/bootstrap-mk-files/files/bsd.files.mk b/pkgtools/bootstrap-mk-files/files/bsd.files.mk
index 7bb266dc7d3..35a22fc28b3 100644
--- a/pkgtools/bootstrap-mk-files/files/bsd.files.mk
+++ b/pkgtools/bootstrap-mk-files/files/bsd.files.mk
@@ -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 @@ ${DESTDIR}${FILESDIR_${F}:U${FILESDIR}}/${FILESNAME_${F}:U${FILESNAME:U${F:T}}}:
filesinstall::
.endif
-FILES:=
+.endif # !defined(_BSD_FILES_MK_)