From b6f2b70996dca2c37591b5a258bc35f66bf1a603 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 2 Jan 2020 09:19:02 +0000 Subject: Make the port futur proof allowing to build with regular ncurses (without w) for the day base will have only 1 ncurses --- misc/gnu-watch/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'misc/gnu-watch') diff --git a/misc/gnu-watch/Makefile b/misc/gnu-watch/Makefile index ff899995fb1b..185a90c1b1e1 100644 --- a/misc/gnu-watch/Makefile +++ b/misc/gnu-watch/Makefile @@ -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} -- cgit v1.2.3