From owner-svn-ports-head@freebsd.org Wed Mar 23 14:46:06 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C91A4ADA6E2; Wed, 23 Mar 2016 14:46:06 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 98231152B; Wed, 23 Mar 2016 14:46:06 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2NEk5bW087359; Wed, 23 Mar 2016 14:46:05 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2NEk5s7087358; Wed, 23 Mar 2016 14:46:05 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201603231446.u2NEk5s7087358@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Wed, 23 Mar 2016 14:46:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411716 - head/devel/thrift-cpp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2016 14:46:06 -0000 Author: mat Date: Wed Mar 23 14:46:05 2016 New Revision: 411716 URL: https://svnweb.freebsd.org/changeset/ports/411716 Log: This builds fine on 9 with OpenSSL from ports with clang. Sponsored by: Absolight Modified: head/devel/thrift-cpp/Makefile Modified: head/devel/thrift-cpp/Makefile ============================================================================== --- head/devel/thrift-cpp/Makefile Wed Mar 23 14:38:55 2016 (r411715) +++ head/devel/thrift-cpp/Makefile Wed Mar 23 14:46:05 2016 (r411716) @@ -18,11 +18,12 @@ DISTINFO_FILE= ${.CURDIR}/../thrift/dis LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs \ libevent.so:${PORTSDIR}/devel/libevent2 -USES= autoreconf pkgconfig gmake compiler libtool +USES= autoreconf pkgconfig gmake compiler:c++11-lang libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes PLIST_SUB= PORTVERSION="${THRIFT_PORTVERSION}" +USE_OPENSSL= yes OPTIONS_DEFINE= QT4 QT4_CONFIGURE_WITH= qt4 @@ -44,11 +45,14 @@ CONFIGURE_ARGS+= \ --without-ruby \ --without-go +.include + +.if !defined(WITH_OPENSSL_PORT) && \ + ${OPSYS} == FreeBSD && ${OSVERSION} < 1000015 # 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 -BROKEN_FreeBSD_9= does not build with 9.x base OpenSSL - -.include +BROKEN= does not build with 9.x base OpenSSL +.endif .if ${COMPILER_TYPE} == clang USE_CXXSTD= c++11