summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjlam <jlam>2003-08-25 20:51:43 +0000
committerjlam <jlam>2003-08-25 20:51:43 +0000
commit67984d6b5559984638b0b3704fddb8b3b6d8f3bb (patch)
tree1a18ed33ee0b8ac51d2cc95fff37a5e036df4de3 /mk/bsd.pkg.mk
parenta8cca842d9a652cb91c1829b0cc4a3b3eccd3ab6 (diff)
downloadpkgsrc-67984d6b5559984638b0b3704fddb8b3b6d8f3bb.tar.gz
Ignore texinfo "dir" files in ${INFO_DIR} (hi, seb!). Also record the
value of _PLIST_IGNORE_FILES in the BUILD_INFO file so that pkg_view(1) can use it to ignore the same set of files.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 2dc5748d5ee..88f92cd6af3 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1216.2.32 2003/08/25 19:37:45 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1216.2.33 2003/08/25 20:51:43 jlam Exp $
#
# This file is in the public domain.
#
@@ -199,9 +199,13 @@ _PKG_DBDIR= ${DEPOTBASE}
#
_PLIST_IGNORE_FILES= +* # package metadata files
_PLIST_IGNORE_FILES+= info/dir
-_PLIST_IGNORE_FILES+= *[~#] *.OLD *.orig *,v # scratch config files
+.if defined(INFO_DIR) && empty(INFO_DIR:Minfo)
+_PLIST_IGNORE_FILES+= ${INFO_DIR}/dir
+.endif
+_PLIST_IGNORE_FILES+= *[~\#] *.OLD *.orig *,v # scratch config files
_PLIST_IGNORE_FILES+= ${PLIST_IGNORE_FILES}
.endif
+BUILD_DEFS+= _PLIST_IGNORE_FILES
# We need to make sure the buildlink-x11 package is not installed since it
# breaks builds that use imake.