summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsbd <sbd>2011-12-18 20:51:41 +0000
committersbd <sbd>2011-12-18 20:51:41 +0000
commitdb327dec202817dbc569682a91814fcd46df420f (patch)
tree40726625cac124d0fc549fda1e6fdf654ef84a5f
parent8532cfab14b4c66dee0ca3d54895a3703be895ef (diff)
downloadpkgsrc-db327dec202817dbc569682a91814fcd46df420f.tar.gz
"included by ncursesw" means the ncursesw Makefile not just the buildlink
tree.
-rw-r--r--devel/ncurses/buildlink3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/ncurses/buildlink3.mk b/devel/ncurses/buildlink3.mk
index 5c19a6f357d..f83dde69298 100644
--- a/devel/ncurses/buildlink3.mk
+++ b/devel/ncurses/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.40 2011/12/15 07:37:38 sbd Exp $
+# $NetBSD: buildlink3.mk,v 1.41 2011/12/18 20:51:41 sbd Exp $
BUILDLINK_TREE+= ncurses
@@ -25,7 +25,7 @@ BUILDLINK_INCDIRS.ncurses+= include/ncurses
# a native library), so unless this file is being included by ncursesw
# don't allow ncursesw to be used by causing linkage failure.
#
-. if empty(BUILDLINK_TREE:Mncursesw)
+. if empty(BUILDLINK_TREE:Mncursesw) && empty(PKGPATH:Mdevel/ncursesw)
BUILDLINK_TRANSFORM+= l:ncursesw:__nonexistent__
. endif