From c34dcea2e81f02c61d6d9492fef16788ca93c011 Mon Sep 17 00:00:00 2001 From: rillig Date: Sat, 3 Nov 2007 15:17:42 +0000 Subject: Clarified the comment. --- mk/curses.buildlink3.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mk/curses.buildlink3.mk b/mk/curses.buildlink3.mk index effe14a80c6..e7e903b44c3 100644 --- a/mk/curses.buildlink3.mk +++ b/mk/curses.buildlink3.mk @@ -1,10 +1,13 @@ -# $NetBSD: curses.buildlink3.mk,v 1.4 2007/10/17 10:43:37 rillig Exp $ +# $NetBSD: curses.buildlink3.mk,v 1.5 2007/11/03 15:17:42 rillig Exp $ # # This file should be included by Makefiles for packages that use curses. -# If a system curses isn't available, then add a dependency on ncurses. +# It checks whether a native curses implementation is available, or +# otherwise adds a dependency on ncurses. # # If a package genuinely requires ncurses, then it should directly include -# ncurses/buildlink3.mk instead of this file in the package Makefile. +# ncurses/buildlink3.mk instead of this file in the package Makefile and +# additionally set USE_NCURSES=yes. +# .if !exists(/usr/include/curses.h) && \ !exists(/usr/include/ncurses.h) -- cgit v1.2.3