Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2020 09:19:02 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521812 - head/misc/gnu-watch
Message-ID:  <202001020919.0029J2S5032832@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001020919.0029J2S5032832>