Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2016 14:46:05 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411716 - head/devel/thrift-cpp
Message-ID:  <201603231446.u2NEk5s7087358@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.pre.mk>
+BROKEN=		does not build with 9.x base OpenSSL
+.endif
 
 .if ${COMPILER_TYPE} == clang
 USE_CXXSTD=	c++11



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