aboutsummaryrefslogtreecommitdiff
path: root/editors/uemacs
diff options
context:
space:
mode:
Diffstat (limited to 'editors/uemacs')
-rw-r--r--editors/uemacs/Makefile4
1 files changed, 3 insertions, 1 deletions
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 <bsd.port.mk>