summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-03-20 20:10:15 +0000
committerjoerg <joerg@pkgsrc.org>2009-03-20 20:10:15 +0000
commite78082ebf68fe4f47e13982f5f04d90f11efaea6 (patch)
treed8756edef56bac3be72c7ab334a3a10f555fe49d /mk
parentfac12eb9b29c19daa851bdd0b7421df9a49a234d (diff)
downloadpkgsrc-e78082ebf68fe4f47e13982f5f04d90f11efaea6.tar.gz
Restore duplication check for _BLNK_PACKAGES that got lost with earlier
versions and was not fatal.
Diffstat (limited to 'mk')
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index b8b1da459c3..f5e40b4fc99 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.205 2009/03/20 19:25:01 joerg Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.206 2009/03/20 20:10:15 joerg Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -146,7 +146,7 @@ MAKEFLAGS+= IGNORE_PKG.${_pkg_}=${IGNORE_PKG.${_pkg_}}
#
_BLNK_PACKAGES= # empty
.for _pkg_ in ${BUILDLINK_TREE:N-*:Mx11-links} ${BUILDLINK_TREE:N-*:Nx11-links}
-. if !defined(IGNORE_PKG.${_pkg_})
+. if empty(_BLNK_PACKAGES:M${_pkg_}) && !defined(IGNORE_PKG.${_pkg_})
_BLNK_PACKAGES+= ${_pkg_}
. endif
.endfor