sysutils/cmdwatch: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
approved by: infrastructure blanket
This commit is contained in:
parent
6f7d82a284
commit
510188162c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408033
2 changed files with 13 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue