svn commit: r411716 - head/devel/thrift-cpp
Mathieu Arnold
mat at FreeBSD.org
Wed Mar 23 14:46:06 UTC 2016
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
More information about the svn-ports-head
mailing list