aboutsummaryrefslogtreecommitdiff
path: root/shells/fish
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2020-05-24 20:57:47 +0000
committerAlan Somers <asomers@FreeBSD.org>2020-05-24 20:57:47 +0000
commitd6f31e6a548e1970a6386394ff42fd63d74850ef (patch)
treeaf0db44e2c6cf37195e59ce33f7c4aaedfc36b59 /shells/fish
parent90c36839db8fc336b7557452723a6e612eb8a2db (diff)
downloadports-d6f31e6a548e1970a6386394ff42fd63d74850ef.tar.gz
ports-d6f31e6a548e1970a6386394ff42fd63d74850ef.zip
Notes
Diffstat (limited to 'shells/fish')
-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>