svn commit: r408173 - head/net/e169-stats

John Marino marino at FreeBSD.org
Fri Feb 5 12:22:40 UTC 2016


Author: marino
Date: Fri Feb  5 12:22:39 2016
New Revision: 408173
URL: https://svnweb.freebsd.org/changeset/ports/408173

Log:
  net/e169-stats: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
  
  Also link with libncurses, not libcurses
  
  approved by:	infrastructure blanket

Modified:
  head/net/e169-stats/Makefile

Modified: head/net/e169-stats/Makefile
==============================================================================
--- head/net/e169-stats/Makefile	Fri Feb  5 12:15:36 2016	(r408172)
+++ head/net/e169-stats/Makefile	Fri Feb  5 12:22:39 2016	(r408173)
@@ -10,10 +10,12 @@ MASTER_SITES=	http://www.mavetju.org/dow
 MAINTAINER=	edwin at 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


More information about the svn-ports-all mailing list