Make the port futur proof allowing to build with regular ncurses (without w)

for the day base will have only 1 ncurses
This commit is contained in:
Baptiste Daroussin 2020-01-02 09:19:02 +00:00
parent 654b52ed10
commit b6f2b70996
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521812

View File

@ -26,6 +26,9 @@ UNICODE_CONFIGURE_ENABLE= watch8bit
PLIST_FILES= bin/${PKGBASE} man/man1/gnu-watch.1.gz
post-patch:
${REINPLACE_CMD} 's/ncursesw/${NCURSES_IMPL}/g' ${WRKSRC}/configure.ac
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/${PKGBASE}