svn commit: r515220 - head/devel/protobuf
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Oct 22 23:33:44 UTC 2019
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>
More information about the svn-ports-head
mailing list