svn commit: r408040 - in head/sysutils/less: . files
John Marino
marino at FreeBSD.org
Thu Feb 4 14:48:08 UTC 2016
Author: marino
Date: Thu Feb 4 14:48:06 2016
New Revision: 408040
URL: https://svnweb.freebsd.org/changeset/ports/408040
Log:
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
Modified:
head/sysutils/less/Makefile
head/sysutils/less/files/patch-Makefile.in
head/sysutils/less/files/patch-charset.c
Modified: head/sysutils/less/Makefile
==============================================================================
--- head/sysutils/less/Makefile Thu Feb 4 14:44:46 2016 (r408039)
+++ head/sysutils/less/Makefile Thu Feb 4 14:48:06 2016 (r408040)
@@ -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 at widomaker.com
COMMENT= Better pager utility
LICENSE= GPLv3
-USES+= cpe
+USES= cpe ncurses
CPE_VENDOR= gnu
GNU_CONFIGURE= yes
Modified: head/sysutils/less/files/patch-Makefile.in
==============================================================================
--- head/sysutils/less/files/patch-Makefile.in Thu Feb 4 14:44:46 2016 (r408039)
+++ head/sysutils/less/files/patch-Makefile.in Thu Feb 4 14:48:06 2016 (r408040)
@@ -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@
Modified: head/sysutils/less/files/patch-charset.c
==============================================================================
--- head/sysutils/less/files/patch-charset.c Thu Feb 4 14:44:46 2016 (r408039)
+++ head/sysutils/less/files/patch-charset.c Thu Feb 4 14:48:06 2016 (r408040)
@@ -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);
More information about the svn-ports-all
mailing list