summaryrefslogtreecommitdiff
path: root/devel/ncurses
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-12-25 15:50:05 +0000
committerwiz <wiz@pkgsrc.org>2001-12-25 15:50:05 +0000
commit468d8c7a9c80a6837c9c90757a0c2d3bc1b797da (patch)
treec5e62543df1b48492148c92d279888badb2c66dc /devel/ncurses
parentbd1cb2d4169f69557e09151c1341fb11e5df1a10 (diff)
downloadpkgsrc-468d8c7a9c80a6837c9c90757a0c2d3bc1b797da.tar.gz
Allow adding wildcards to _INCOMPAT_CURSES to specify additional NetBSD
versions that were missing some specific curses functions, like INCOMPAT_CURSES= 1.5 1.5.* 1.5[A-U] for wgetnstr.
Diffstat (limited to 'devel/ncurses')
-rw-r--r--devel/ncurses/buildlink.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/ncurses/buildlink.mk b/devel/ncurses/buildlink.mk
index fabd8286624..7b98ac16680 100644
--- a/devel/ncurses/buildlink.mk
+++ b/devel/ncurses/buildlink.mk
@@ -1,10 +1,12 @@
-# $NetBSD: buildlink.mk,v 1.13 2001/11/30 17:21:54 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.14 2001/12/25 15:50:05 wiz Exp $
#
# This Makefile fragment is included by packages that use ncurses.
#
# To use this Makefile fragment, simply:
#
-# (1) Optionally define USE_NCURSES to force use of ncurses.
+# (1) Optionally define USE_NCURSES to force use of ncurses,
+# or define INCOMPAT_CURSES to specify NetBSD versions that are
+# missing some needed functions.
# (2) Optionally define BUILDLINK_DEPENDS.ncurses to the dependency pattern
# for the version of ncurses desired.
# (3) Add ${BUILDLINK_INCDIR} to the front of the C preprocessor's header
@@ -25,7 +27,7 @@ _NEED_NCURSES= YES
.include "../../mk/bsd.prefs.mk"
_NEED_NCURSES= NO
.if ${OPSYS} == "NetBSD"
-_INCOMPAT_CURSES= 0.* 1.[0123]* 1.4.* 1.4[A-X]
+_INCOMPAT_CURSES= 0.* 1.[0123]* 1.4.* 1.4[A-X] ${INCOMPAT_CURSES}
.for PATTERN in ${_INCOMPAT_CURSES}
.if ${OS_VERSION:M${PATTERN}} != ""
_NEED_NCURSES= YES