Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2019 23:33:44 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r515220 - head/devel/protobuf
Message-ID:  <201910222333.x9MNXicg019403@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Oct 22 23:33:43 2019
New Revision: 515220
URL: https://svnweb.freebsd.org/changeset/ports/515220

Log:
  Update regex

Modified:
  head/devel/protobuf/Makefile

Modified: head/devel/protobuf/Makefile
==============================================================================
--- head/devel/protobuf/Makefile	Tue Oct 22 23:33:38 2019	(r515219)
+++ head/devel/protobuf/Makefile	Tue Oct 22 23:33:43 2019	(r515220)
@@ -38,7 +38,6 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|^check-local:|disabled-&|' ${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e 's|$$(GOOGLETEST_BUILD_DIR)/lib/libgtest\.la|-lgtest|' ${WRKSRC}/src/Makefile.in
-	@${REINPLACE_CMD} -e 's|$$(GOOGLEMOCK_BUILD_DIR)/lib/libgmock\(.*\)\.la|-lgmock\1|' ${WRKSRC}/src/Makefile.in
+	@${REINPLACE_CMD} -Ee 's,[^ 	]*lib(gtest|gmock.*)\.la,-l\1,' ${WRKSRC}/src/Makefile.in
 
 .include <bsd.port.mk>



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