mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
sysutils/less: document ncurses requirement (USES+=ncurses), plus ...
In addition to setting USES=ncurses: * align MASTER_SITES * align USES * change USES operator from += to = * line to libncurses rather than libtermcap * regenerate patches with makepatch approved by: infrastructure blanket
This commit is contained in:
@@ -5,14 +5,14 @@ PORTNAME= less
|
||||
PORTVERSION= 458
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.greenwoodsoftware.com/less/ \
|
||||
http://bitrote.org/distfiles/
|
||||
http://bitrote.org/distfiles/
|
||||
|
||||
MAINTAINER= jharris@widomaker.com
|
||||
COMMENT= Better pager utility
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
USES+= cpe
|
||||
USES= cpe ncurses
|
||||
CPE_VENDOR= gnu
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
--- Makefile.in.orig 2010/10/30 02:29:59
|
||||
+++ Makefile.in 2010/10/30 02:32:04
|
||||
@@ -17,7 +17,7 @@
|
||||
--- Makefile.in.orig 2013-04-04 16:55:06 UTC
|
||||
+++ Makefile.in
|
||||
@@ -17,7 +17,7 @@ CPPFLAGS = @CPPFLAGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
O=o
|
||||
|
||||
-LIBS = @LIBS@
|
||||
+LIBS = -ltermcap
|
||||
+LIBS = -lncurses
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- charset.c.orig 2010/10/30 02:38:17
|
||||
+++ charset.c 2010/10/30 02:40:03
|
||||
@@ -408,6 +408,10 @@
|
||||
--- charset.c.orig 2013-04-04 16:55:05 UTC
|
||||
+++ charset.c
|
||||
@@ -407,6 +407,10 @@ binary_char(c)
|
||||
control_char(c)
|
||||
LWCHAR c;
|
||||
{
|
||||
@@ -11,7 +11,7 @@
|
||||
c &= 0377;
|
||||
return (chardef[c] & IS_CONTROL_CHAR);
|
||||
}
|
||||
@@ -423,6 +427,20 @@
|
||||
@@ -422,6 +426,20 @@ prchar(c)
|
||||
/* {{ This buffer can be overrun if LESSBINFMT is a long string. }} */
|
||||
static char buf[32];
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
c &= 0377;
|
||||
if ((c < 128 || !utf_mode) && !control_char(c))
|
||||
SNPRINTF1(buf, sizeof(buf), "%c", (int) c);
|
||||
@@ -446,6 +464,7 @@
|
||||
@@ -445,6 +463,7 @@ prchar(c)
|
||||
#endif
|
||||
else
|
||||
SNPRINTF1(buf, sizeof(buf), binfmt, c);
|
||||
|
||||
Reference in New Issue
Block a user