pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ncurses devel/ncurses: fix broken string compari...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c18b96d0c95c
branches:  trunk
changeset: 329785:c18b96d0c95c
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Thu Feb 14 22:59:49 2019 +0000

description:
devel/ncurses: fix broken string comparison in Makefile.common

Revision 1.38 introduced an invalid check, fix it.

diffstat:

 devel/ncurses/Makefile.common |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 4546840e7cfc -r c18b96d0c95c devel/ncurses/Makefile.common
--- a/devel/ncurses/Makefile.common     Thu Feb 14 20:54:17 2019 +0000
+++ b/devel/ncurses/Makefile.common     Thu Feb 14 22:59:49 2019 +0000
@@ -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 @@
 # 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



Home | Main Index | Thread Index | Old Index