svn commit: r501237 - head/devel/thrift

Tobias Kortkamp tobik at FreeBSD.org
Sat May 11 09:03:53 UTC 2019


Author: tobik
Date: Sat May 11 09:03:51 2019
New Revision: 501237
URL: https://svnweb.freebsd.org/changeset/ports/501237

Log:
  devel/thrift: Actually disable -Werror and fix build
  
  src/thrift/generate/t_py_generator.cc:1603:38: error: unused variable 'a_iter' [-Werror,-Wunused-variable]
      vector<t_field*>::const_iterator a_iter;
                                       ^
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p501065_s347375/logs/errors/thrift-0.11.0_1,1.log
  
  PR:		230607

Modified:
  head/devel/thrift/Makefile

Modified: head/devel/thrift/Makefile
==============================================================================
--- head/devel/thrift/Makefile	Sat May 11 09:01:34 2019	(r501236)
+++ head/devel/thrift/Makefile	Sat May 11 09:03:51 2019	(r501237)
@@ -52,7 +52,8 @@ PLIST_FILES=	bin/thrift
 PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
 
 post-patch:
-	${REINPLACE_CMD} 's,-Werror,,' ${WRKSRC}/lib/rb/ext/extconf.rb
+	@${REINPLACE_CMD} 's,-Werror,,' ${WRKSRC}/compiler/cpp/Makefile.am \
+		${WRKSRC}/lib/rb/ext/extconf.rb
 
 pre-configure:
 	@${REINPLACE_CMD} '/config.h/d' ${WRKSRC}/lib/cpp/Makefile.am


More information about the svn-ports-all mailing list