diff options
author | marino <marino@FreeBSD.org> | 2016-02-05 01:26:06 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-02-05 01:26:06 +0800 |
commit | 671d06e6e357500b23c04234661eae85a5c58f0e (patch) | |
tree | 7c730c76d1c8d3a3ce259c038b4aa4e0f8b71b19 /sysutils/wtail | |
parent | a82d4a3db4d93f9c6e185eaa49e7277458c762fe (diff) | |
download | freebsd-ports-gnome-671d06e6e357500b23c04234661eae85a5c58f0e.tar.gz freebsd-ports-gnome-671d06e6e357500b23c04234661eae85a5c58f0e.tar.zst freebsd-ports-gnome-671d06e6e357500b23c04234661eae85a5c58f0e.zip |
sysutils/wtail: document ncurses requirement (USES+=ncurses)
Also link with libncurses rather than libcurses.
approved by: infrastructure blanket
Diffstat (limited to 'sysutils/wtail')
-rw-r--r-- | sysutils/wtail/Makefile | 1 | ||||
-rw-r--r-- | sysutils/wtail/files/patch-Makefile | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/wtail/Makefile b/sysutils/wtail/Makefile index ac88d8c9718e..15fbd8da5b75 100644 --- a/sysutils/wtail/Makefile +++ b/sysutils/wtail/Makefile @@ -9,6 +9,7 @@ MASTER_SITES= http://www.teaser.fr/~amajorel/wtail/ MAINTAINER= mich@FreeBSD.org COMMENT= Wtail does the equivalent of tail -f on several files at once +USES= ncurses OPTIONS_DEFINE= DOCS do-install: diff --git a/sysutils/wtail/files/patch-Makefile b/sysutils/wtail/files/patch-Makefile new file mode 100644 index 000000000000..4d4adcd6721a --- /dev/null +++ b/sysutils/wtail/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2003-01-13 23:12:57 UTC ++++ Makefile +@@ -51,7 +51,7 @@ dist: + arc=$(ARC); cd $(TMPDIR) && tar -cf - $$arc | gzip >$$arc.tar.gz + + wtail: $(OBJ) +- $(CC) $(LDFLAGS) -o $@ $(OBJ) -lcurses ++ $(CC) $(LDFLAGS) -o $@ $(OBJ) -lncurses + + version.c: VERSION + cat VERSION | sed 's/.*/const char version[] = "&";/' >$@ |