aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-05 12:22:39 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-05 12:22:39 +0000
commitc7a73245c101959cff5f090cdc6151bb3c6ae768 (patch)
treea6fdcff0f061934bc407638d294df7e48a7d1740 /net
parentf8a54117b4eada98d7d3d5782d2ad56d6ded6133 (diff)
downloadports-c7a73245c101959cff5f090cdc6151bb3c6ae768.tar.gz
ports-c7a73245c101959cff5f090cdc6151bb3c6ae768.zip
net/e169-stats: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
Also link with libncurses, not libcurses approved by: infrastructure blanket
Notes
Notes: svn path=/head/; revision=408173
Diffstat (limited to 'net')
-rw-r--r--net/e169-stats/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/e169-stats/Makefile b/net/e169-stats/Makefile
index 044d8ed16ea3..e0f91d7d5e31 100644
--- a/net/e169-stats/Makefile
+++ b/net/e169-stats/Makefile
@@ -10,10 +10,12 @@ MASTER_SITES= http://www.mavetju.org/download/
MAINTAINER= edwin@mavetju.org
COMMENT= Curses realtime statistics for the Huawei E169 modem
+USES= ncurses
PLIST_FILES= bin/e169-stats
do-build:
- ${CC} ${CFLAGS} -o ${WRKSRC}/e169-stats ${WRKSRC}/e169-stats.c -lcurses
+ ${CC} ${CFLAGS} -o ${WRKSRC}/e169-stats ${WRKSRC}/e169-stats.c \
+ ${LDFLAGS} -lncurses
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/e169-stats ${STAGEDIR}${PREFIX}/bin