summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-11-21 00:16:43 +0000
committerhubertf <hubertf@pkgsrc.org>2000-11-21 00:16:43 +0000
commitf99369acf6f3fda3513128e39ba806e386000e7b (patch)
tree7ee9613651ae4ebd4e648de2b8b602bcd4ee7e88 /mk/bsd.prefs.mk
parent986e029723ba09f5687b02622388afee1e6367c7 (diff)
downloadpkgsrc-f99369acf6f3fda3513128e39ba806e386000e7b.tar.gz
Fix NEED_NCURSES handling:
Let's take timidity, which needs ncurses and tk. By setting NEED_NCURSES=1 and adding it to MAKEFLAGS, all other required pkgs automagically depend on ncurses - tk, tcl (which is slurped in by tk), ...
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index c33fb8a5464..3ca2e79a7b4 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.19 2000/11/02 03:01:40 wiz Exp $
+# $NetBSD: bsd.prefs.mk,v 1.20 2000/11/21 00:16:44 hubertf Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -136,9 +136,9 @@ NEED_NCURSES= YES
.endif
.endfor
.endif
-# we can pass the flag down without recursive dependency of ncurses
-# on itself, because it's explicitly tested in bsd.pkg.mk
-MAKEFLAGS+= NEED_NCURSES=${NEED_NCURSES}
+# we can NOT pass the NEED_NCURSES flag down as every required package
+# will start to require ncurses, which is not true (and raises some
+# recursive dependency problems!)
.endif # USE_CURSES
.endif # BSD_PKG_MK