summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.