aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
Diffstat (limited to 'shells')
-rw-r--r--shells/fish/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/shells/fish/Makefile b/shells/fish/Makefile
index 46deb4bb9903..35c4dce18df2 100644
--- a/shells/fish/Makefile
+++ b/shells/fish/Makefile
@@ -38,6 +38,14 @@ NLS_CMAKE_BOOL= WITH_GETTEXT
PORTDOCS= *
+.include <bsd.port.pre.mk>
+
+.if ${NCURSESBASE:M${LOCALBASE}}
+CMAKE_ARGS+= -DCURSES_NEED_NCURSES=TRUE
+.else
+.info NCURSES BASE
+.endif
+
post-install:
.for i in fish fish_indent fish_key_reader
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i}
@@ -50,4 +58,4 @@ post-stage-MANPAGES-off:
@${RM} -rf ${STAGEDIR}${MANPREFIX}/man/man1
@${RM} -rf ${STAGEDIR}${DATADIR}/man
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>