Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2016 02:50:16 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421648 - head/devel/thrift-cpp
Message-ID:  <201609100250.u8A2oGPt098052@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Sep 10 02:50:16 2016
New Revision: 421648
URL: https://svnweb.freebsd.org/changeset/ports/421648

Log:
  devel/thrift-cpp: Fix SSL library support
  
  Approved by:	SSL blanket

Modified:
  head/devel/thrift-cpp/Makefile

Modified: head/devel/thrift-cpp/Makefile
==============================================================================
--- head/devel/thrift-cpp/Makefile	Sat Sep 10 02:00:21 2016	(r421647)
+++ head/devel/thrift-cpp/Makefile	Sat Sep 10 02:50:16 2016	(r421648)
@@ -18,12 +18,12 @@ DISTINFO_FILE=		${.CURDIR}/../thrift/dis
 LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
 		libevent.so:devel/libevent2
 
-USES=			autoreconf pkgconfig gmake compiler:c++11-lang libtool
+USES=			autoreconf pkgconfig gmake compiler:c++11-lang \
+			libtool ssl
 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
@@ -45,13 +45,15 @@ CONFIGURE_ARGS+=	\
 		--without-ruby \
 		--without-go
 
+LDFLAGS+=	-L${OPENSSLLIB}
+CFLAGS+=	-I${OPENSSLINC}
+
 .include <bsd.port.pre.mk>
 
-.if ${SSL_DEFAULT} == base && \
-	${OPSYS} == FreeBSD && ${OSVERSION} < 1000015
+.if ${SSL_DEFAULT} == base
 # 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=		does not build with 9.x base OpenSSL
+BROKEN_FreeBSD_9=	does not build with 9.x base OpenSSL
 .endif
 
 .if ${COMPILER_TYPE} == clang



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