Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2020 21:48:06 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r523596 - head/graphics/vv
Message-ID:  <202001192148.00JLm6Iv075488@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Jan 19 21:48:05 2020
New Revision: 523596
URL: https://svnweb.freebsd.org/changeset/ports/523596

Log:
  graphics/vv: Unbreak build by correcting the workaround regexp.
  
  Reported by:	fallout

Modified:
  head/graphics/vv/Makefile

Modified: head/graphics/vv/Makefile
==============================================================================
--- head/graphics/vv/Makefile	Sun Jan 19 20:57:42 2020	(r523595)
+++ head/graphics/vv/Makefile	Sun Jan 19 21:48:05 2020	(r523596)
@@ -32,7 +32,7 @@ USE_CXXSTD=	c++11
 
 PLIST_FILES=	bin/vv
 
-post-configure: # need to investigate where these strings come from
-	@${REINPLACE_CMD} 's| -lGTest::GTest -lGTest::Main | |' ${BUILD_WRKSRC}/build.ninja
+post-configure: # workaround for "error: unable to find library -lGTest::GTest", see https://github.com/open-vv/vv/issues/74
+	@${REINPLACE_CMD} -E 's/ -lGTest::(GTest|Main) / /g' ${BUILD_WRKSRC}/build.ninja
 
 .include <bsd.port.mk>



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