From 66866ba7070dda631e06c79df6ea0ef5b15bca4c Mon Sep 17 00:00:00 2001 From: John Marino Date: Tue, 13 Sep 2016 18:40:21 +0000 Subject: www/tomcat-native: remove USE_OPENSSL_PORT and IGNORE LibreSSL Even with LibreSSL using the OpenSSL 1.0.2 compatibility definitions, there are numerous unreferenced symbols during linking. It doesn't seem trivial to fix so IGNORE when SSL_DEFAULT=libressl* This version of Tomcat also requires OpenSSL version 1.0.2 which is not available in FreeBSD 9 base nor FreeBSD 10 base. Set IGNORE when base SSL libraries are used for those 2 platforms. Approved by: SSL blanket --- www/tomcat-native/Makefile | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'www') diff --git a/www/tomcat-native/Makefile b/www/tomcat-native/Makefile index 2db4f52d9276..1c697aeb08e9 100644 --- a/www/tomcat-native/Makefile +++ b/www/tomcat-native/Makefile @@ -16,9 +16,7 @@ LIB_DEPENDS= libapr-1.so:devel/apr1 WRKSRC= ${WRKDIR}/${DISTNAME}/native -USES= libtool -USE_OPENSSL= yes -WITH_OPENSSL_PORT= yes +USES= libtool ssl USE_JAVA= yes USE_LDCONFIG= yes JAVA_VERSION= 1.6+ @@ -35,4 +33,15 @@ PLIST_FILES= lib/libtcnative-1.a \ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtcnative-1.so.0.2.7 -.include +.include + +.if ${SSL_DEFAULT} == base +IGNORE_FreeBSD_9= Requires OpenSSL 1.0.2 (set SSL_DEFAULT=openssl) +IGNORE_FreeBSD_10= Requires OpenSSL 1.0.2 (set_SSL_DEFAULT=openssl) +.endif + +.if ${SSL_DEFAULT:Mlibressl*} +IGNORE= Detected LibreSSL (missing numerous symbols during linking) +.endif + +.include -- cgit v1.2.3