pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ncurses



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Thu Feb 14 22:59:49 UTC 2019

Modified Files:
        pkgsrc/devel/ncurses: Makefile.common

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

Revision 1.38 introduced an invalid check, fix it.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/devel/ncurses/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ncurses/Makefile.common
diff -u pkgsrc/devel/ncurses/Makefile.common:1.38 pkgsrc/devel/ncurses/Makefile.common:1.39
--- pkgsrc/devel/ncurses/Makefile.common:1.38   Tue Feb 12 20:11:22 2019
+++ pkgsrc/devel/ncurses/Makefile.common        Thu Feb 14 22:59:49 2019
@@ -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=${L
 # 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