diff options
author | grant <grant> | 2003-09-27 10:27:39 +0000 |
---|---|---|
committer | grant <grant> | 2003-09-27 10:27:39 +0000 |
commit | e732ab0db6b1c541efa9ad5cc5099554471e2a5d (patch) | |
tree | 2cb260391338ded7340472ceff06992da74f8b29 /devel | |
parent | bf0be1e90f8e76bcef444f91470208ea05d8f5bb (diff) | |
download | pkgsrc-e732ab0db6b1c541efa9ad5cc5099554471e2a5d.tar.gz |
handle the case where the base system has no (n)curses.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ncurses/buildlink2.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/ncurses/buildlink2.mk b/devel/ncurses/buildlink2.mk index 9a9fc8ccbf1..5e8700a23d9 100644 --- a/devel/ncurses/buildlink2.mk +++ b/devel/ncurses/buildlink2.mk @@ -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 @@ BUILDLINK_PKGSRCDIR.ncurses?= ../../devel/ncurses _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. |