From cdead12b74c8964c4d14e632284b8fe02be40e9b Mon Sep 17 00:00:00 2001 From: John Marino Date: Fri, 5 Feb 2016 18:59:49 +0000 Subject: editors/uemacs: document ncurses rqmt (USES+=ncurses), respect LDFLAGS Also link with ncurses, not termcap approved by: infrastructure blanket --- editors/uemacs/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'editors/uemacs') diff --git a/editors/uemacs/Makefile b/editors/uemacs/Makefile index 2f32edcd8300..c2dfb72413ee 100644 --- a/editors/uemacs/Makefile +++ b/editors/uemacs/Makefile @@ -13,10 +13,12 @@ COMMENT= Full screen editor NO_CDROM= Resale allowed for media cost only NO_WRKSUBDIR= yes -USES= dos2unix zip +USES= dos2unix ncurses zip EXTRACT_BEFORE_ARGS= -Lq post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/*.c + @${REINPLACE_CMD} -e 's|-ltermcap|${LDFLAGS} -lncurses|g' \ + ${WRKSRC}/freebsd/makefile .include -- cgit v1.2.3