svn commit: r521812 - head/misc/gnu-watch

Baptiste Daroussin bapt at FreeBSD.org
Thu Jan 2 09:19:02 UTC 2020


Author: bapt
Date: Thu Jan  2 09:19:02 2020
New Revision: 521812
URL: https://svnweb.freebsd.org/changeset/ports/521812

Log:
  Make the port futur proof allowing to build with regular ncurses (without w)
  for the day base will have only 1 ncurses

Modified:
  head/misc/gnu-watch/Makefile

Modified: head/misc/gnu-watch/Makefile
==============================================================================
--- head/misc/gnu-watch/Makefile	Thu Jan  2 09:14:49 2020	(r521811)
+++ head/misc/gnu-watch/Makefile	Thu Jan  2 09:19:02 2020	(r521812)
@@ -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}


More information about the svn-ports-head mailing list