aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cmdwatch
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-04 14:16:44 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-04 14:16:44 +0000
commit510188162c8275c789c135192ad85ab062c1f3d7 (patch)
tree7327abbddb2bbdaacebf6e460c3ded5093592363 /sysutils/cmdwatch
parent6f7d82a2848be4944d9caab8fed10cb1d615639d (diff)
downloadports-510188162c8275c789c135192ad85ab062c1f3d7.tar.gz
ports-510188162c8275c789c135192ad85ab062c1f3d7.zip
sysutils/cmdwatch: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
approved by: infrastructure blanket
Notes
Notes: svn path=/head/; revision=408033
Diffstat (limited to 'sysutils/cmdwatch')
-rw-r--r--sysutils/cmdwatch/Makefile1
-rw-r--r--sysutils/cmdwatch/files/patch-Makefile15
2 files changed, 13 insertions, 3 deletions
diff --git a/sysutils/cmdwatch/Makefile b/sysutils/cmdwatch/Makefile
index 17c0f1c34ffd..1af3da41914e 100644
--- a/sysutils/cmdwatch/Makefile
+++ b/sysutils/cmdwatch/Makefile
@@ -10,6 +10,7 @@ MASTER_SITES= http://www.chruetertee.ch/files/download/
MAINTAINER= beat@FreeBSD.org
COMMENT= Watches the output from a command at specified intervals
+USES= ncurses
PLIST_FILES= bin/cmdwatch man/man1/cmdwatch.1.gz
.include <bsd.port.mk>
diff --git a/sysutils/cmdwatch/files/patch-Makefile b/sysutils/cmdwatch/files/patch-Makefile
index 96bae8a7821d..be6a11b3f92b 100644
--- a/sysutils/cmdwatch/files/patch-Makefile
+++ b/sysutils/cmdwatch/files/patch-Makefile
@@ -1,6 +1,15 @@
---- ./Makefile.orig 2002-08-28 15:23:52.000000000 +0200
-+++ ./Makefile 2013-10-22 10:54:40.000000000 +0200
-@@ -26,9 +26,9 @@
+--- Makefile.orig 2002-08-28 13:23:52 UTC
++++ Makefile
+@@ -5,7 +5,7 @@ STRIP ?= strip
+ OBJS = getopt.o getopt1.o cmdwatch.o
+
+ all : startup $(OBJS)
+- @$(CC) -o cmdwatch $(OBJS) -lcurses
++ @$(CC) -o cmdwatch $(OBJS) $(LDFLAGS) -lncurses
+ @strip cmdwatch
+ @echo " done."
+
+@@ -26,9 +26,9 @@ clean :
@rm -f *.o cmdwatch
install : all