pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ncurses handle the case where the base system ha...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bc1c4eb2ab0e
branches: trunk
changeset: 462166:bc1c4eb2ab0e
user: grant <grant%pkgsrc.org@localhost>
date: Sat Sep 27 10:27:39 2003 +0000
description:
handle the case where the base system has no (n)curses.
diffstat:
devel/ncurses/buildlink2.mk | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 9fe9cf114f2b -r bc1c4eb2ab0e devel/ncurses/buildlink2.mk
--- a/devel/ncurses/buildlink2.mk Sat Sep 27 10:25:25 2003 +0000
+++ b/devel/ncurses/buildlink2.mk Sat Sep 27 10:27:39 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.10 2003/09/27 10:20:29 grant Exp $
+# $NetBSD: buildlink2.mk,v 1.11 2003/09/27 10:27:39 grant Exp $
#
# Optionally define:
#
@@ -18,6 +18,13 @@
_NEED_NCURSES= YES
.else
_NEED_NCURSES= NO
+
+#
+# Handle the base system not having (n)curses.
+#
+. if !(exists(/usr/include/curses.h) || exists(/usr/include/ncurses.h))
+_NEED_NCURSES= YES
+. endif
#
# These versions of NetBSD didn't have a curses library that was capable of
# replacing ncurses.
Home |
Main Index |
Thread Index |
Old Index