diff options
author | gutteridge <gutteridge@pkgsrc.org> | 2019-02-14 22:59:49 +0000 |
---|---|---|
committer | gutteridge <gutteridge@pkgsrc.org> | 2019-02-14 22:59:49 +0000 |
commit | 33ff3a88832d40a2ac359b07ecb1fc9358b516f2 (patch) | |
tree | 9d97515861ac5a86149927fc8ef17bc5ac8ae39e | |
parent | 24f77e2fac199b0bd53ee960dec1bc6a7d2eafb4 (diff) | |
download | pkgsrc-33ff3a88832d40a2ac359b07ecb1fc9358b516f2.tar.gz |
devel/ncurses: fix broken string comparison in Makefile.common
Revision 1.38 introduced an invalid check, fix it.
-rw-r--r-- | devel/ncurses/Makefile.common | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/ncurses/Makefile.common b/devel/ncurses/Makefile.common index bee5e0e3db7..67373b99d91 100644 --- a/devel/ncurses/Makefile.common +++ b/devel/ncurses/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.38 2019/02/12 20:11:22 triaxx Exp $ +# $NetBSD: Makefile.common,v 1.39 2019/02/14 22:59:49 gutteridge Exp $ # # used by devel/ncurses/Makefile # used by devel/ncursesw/Makefile @@ -55,7 +55,8 @@ CONFIGURE_ENV+= ac_cv_path_TIC_PATH=${LOCALBASE}/bin/tic # Additionally, Interix is special, see ../../mk/curses.buildlink3.mk . if !(exists(/usr/include/curses.h) || exists(/usr/include/ncurses.h)) || \ ${OPSYS} == "Interix" || \ - (${OPSYS} == "FreeBSD" && ${OS_VERSION} >= 12) + (${OPSYS} == "FreeBSD" && empty(OS_VERSION:M[0-9].*) && \ + empty(OS_VERSION:M1[01].*)) # None was available, so disable use of tbl(1) USE_TOOLS:= ${USE_TOOLS:Ntbl} CONFIGURE_ARGS+= --without-manpage-tbl |