Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2015 14:42:31 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402877 - head/devel/thrift-cpp
Message-ID:  <201512031442.tB3EgVDP028011@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Thu Dec  3 14:42:30 2015
New Revision: 402877
URL: https://svnweb.freebsd.org/changeset/ports/402877

Log:
  IGNORE port on FreeBSD 9.
  
  The port has been broken on 9 since the 0.9.3 update:
  
    src/thrift/transport/TSSLSocket.cpp: In constructor 'apache::thrift::transport::SSLContext::SSLContext(const apache::thrift::transport::SSLProtocol&)':
    src/thrift/transport/TSSLSocket.cpp:147: error: 'TLSv1_1_method' was not declared in this scope
    src/thrift/transport/TSSLSocket.cpp:149: error: 'TLSv1_2_method' was not declared in this scope
  
  Conditionally adding USE_OPENSSL=yes + WITH_OPENSSL_PORT=yes does not work
  out of the box:
  
    In file included from /usr/local/include/openssl/x509.h:107,
                     from /usr/local/include/openssl/ssl.h:156,
                     from src/thrift/transport/TSSLSocket.cpp:35:
    /usr/local/include/openssl/sha.h:184: error: ISO C++ does not support 'long long'
    /usr/local/include/openssl/sha.h:185: error: ISO C++ does not support 'long long'
    /usr/local/include/openssl/sha.h:187: error: ISO C++ does not support 'long long'
  
  Mark it IGNOREd for now until somebody comes up with a proper fix.

Modified:
  head/devel/thrift-cpp/Makefile

Modified: head/devel/thrift-cpp/Makefile
==============================================================================
--- head/devel/thrift-cpp/Makefile	Thu Dec  3 14:29:22 2015	(r402876)
+++ head/devel/thrift-cpp/Makefile	Thu Dec  3 14:42:30 2015	(r402877)
@@ -46,6 +46,12 @@ CONFIGURE_ARGS+=	\
 
 .include <bsd.port.pre.mk>
 
+# src/thrift/transport/TSSLSocket.cpp:147: error: 'TLSv1_1_method' was not declared in this scope
+# src/thrift/transport/TSSLSocket.cpp:149: error: 'TLSv1_2_method' was not declared in this scope
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000015
+IGNORE=		does not build with 9.x base OpenSSL
+.endif
+
 .if ${COMPILER_TYPE} == clang
 USE_CXXSTD=	c++11
 .endif



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