svn commit: r408064 - in head/sysutils/reed: . files
John Marino
marino at FreeBSD.org
Thu Feb 4 18:05:09 UTC 2016
Author: marino
Date: Thu Feb 4 18:05:07 2016
New Revision: 408064
URL: https://svnweb.freebsd.org/changeset/ports/408064
Log:
sysutils/reed: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
Also link with libncurses, not libcurses
approved by: infrastructure blanket
Added:
head/sysutils/reed/files/
head/sysutils/reed/files/patch-Makefile.in (contents, props changed)
head/sysutils/reed/files/patch-cfg.data (contents, props changed)
Modified:
head/sysutils/reed/Makefile
Modified: head/sysutils/reed/Makefile
==============================================================================
--- head/sysutils/reed/Makefile Thu Feb 4 17:33:13 2016 (r408063)
+++ head/sysutils/reed/Makefile Thu Feb 4 18:05:07 2016 (r408064)
@@ -13,7 +13,7 @@ COMMENT= Text pager with autoscrolling a
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= perl5 shebangfix
+USES= ncurses perl5 shebangfix
USE_PERL5= run build patch
SHEBANG_FILES= wrap breed
HAS_CONFIGURE= yes
Added: head/sysutils/reed/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/reed/files/patch-Makefile.in Thu Feb 4 18:05:07 2016 (r408064)
@@ -0,0 +1,13 @@
+--- Makefile.in.orig 2002-11-09 00:59:08 UTC
++++ Makefile.in
+@@ -1,8 +1,8 @@
+ all:
+- $(CC) -O2 -o reed reed.c filemode.c -lcurses
++ $(CC) -O2 -o reed reed.c filemode.c $(LDFLAGS) -lncurses
+
+ debug:
+- $(CC) -o reed reed.c filemode.c -lcurses -Wall -g
++ $(CC) -o reed reed.c filemode.c $(LDFLAGS) -lncurses -Wall -g
+
+ install:
+ install -d $(DESTDIR)PREFIX/bin
Added: head/sysutils/reed/files/patch-cfg.data
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/reed/files/patch-cfg.data Thu Feb 4 18:05:07 2016 (r408064)
@@ -0,0 +1,10 @@
+--- cfg.data.orig 2002-11-09 00:59:08 UTC
++++ cfg.data
+@@ -1,6 +1,6 @@
+ PROGNAME="Reed"
+ VERSION="5.4"
+ PROGRAMS="perl fold"
+-LIBS="c curses"
++LIBS="c ncurses"
+ PM="Getopt/Std Text/Wrap"
+ HEADERS="sys/dir.h sys/stat.h ctype.h curses.h dirent.h getopt.h regex.h limits.h time.h unistd.h"
More information about the svn-ports-all
mailing list