From owner-svn-ports-head@freebsd.org Sun Oct 28 14:52:36 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E1C110D4559; Sun, 28 Oct 2018 14:52:36 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BBC788859D; Sun, 28 Oct 2018 14:52:35 +0000 (UTC) (envelope-from brnrd@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 82A2520DCA; Sun, 28 Oct 2018 14:52:35 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9SEqZl7006872; Sun, 28 Oct 2018 14:52:35 GMT (envelope-from brnrd@FreeBSD.org) Received: (from brnrd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9SEqZT4006871; Sun, 28 Oct 2018 14:52:35 GMT (envelope-from brnrd@FreeBSD.org) Message-Id: <201810281452.w9SEqZT4006871@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brnrd set sender to brnrd@FreeBSD.org using -f From: Bernard Spil Date: Sun, 28 Oct 2018 14:52:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483302 - head/security/openssl-devel X-SVN-Group: ports-head X-SVN-Commit-Author: brnrd X-SVN-Commit-Paths: head/security/openssl-devel X-SVN-Commit-Revision: 483302 X-SVN-Commit-Repository: ports 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.29 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: Sun, 28 Oct 2018 14:52:36 -0000 Author: brnrd Date: Sun Oct 28 14:52:34 2018 New Revision: 483302 URL: https://svnweb.freebsd.org/changeset/ports/483302 Log: security/openssl-devel: Fix SHARED option - Fix linking with lld on i386 - Fix ordering PR: 231333 Reported by: lev Modified: head/security/openssl-devel/Makefile Modified: head/security/openssl-devel/Makefile ============================================================================== --- head/security/openssl-devel/Makefile Sun Oct 28 14:45:03 2018 (r483301) +++ head/security/openssl-devel/Makefile Sun Oct 28 14:52:34 2018 (r483302) @@ -9,7 +9,7 @@ MASTER_SITES= https://www.openssl.org/source/ \ PKGNAMESUFFIX= -devel MAINTAINER= brnrd@FreeBSD.org -COMMENT= SSL and crypto library (1.1.x) +COMMENT= SSL and crypto library (1.1.0) LICENSE= OpenSSL LICENSE_FILE= ${WRKSRC}/LICENSE @@ -28,6 +28,12 @@ CONFIGURE_ENV= PERL="${PERL}" CONFIGURE_ARGS= --openssldir=${OPENSSLDIR} \ --prefix=${PREFIX} -v +USES= cpe perl5 +USE_PERL5= build +MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=--whole-archive +MAKE_ENV+= LIBRPATH="${PREFIX}/lib" GREP_OPTIONS= +TEST_TARGET= test + OPTIONS_GROUP= CIPHERS HASHES OPTIMIZE PROTOCOLS OPTIONS_GROUP_CIPHERS= IDEA JPAKE RC2 RC4 RC5 OPTIONS_GROUP_HASHES= MD2 MD4 MDC2 RMD160 @@ -43,6 +49,7 @@ OPTIONS_GROUP_OPTIMIZE+= EC OPTIONS_GROUP_OPTIMIZE+= EC .endif OPTIONS_DEFAULT= ASM ASYNC DH EC MAN3 MD4 RC2 RC4 RMD160 SCTP SHARED SSE2 THREADS TLS1 TLS1_1 +OPTIONS_SUB= yes ASM_DESC= Assembler code ASYNC_DESC= Asynchronous mode @@ -74,14 +81,6 @@ TLS1_DESC= TLSv1.0 support TLS1_1_DESC= TLSv1.1 support (disables TLSv1.0 as well) ZLIB_DESC= zlib compression support -OPTIONS_SUB= yes - -USES= cpe perl5 -USE_PERL5= build -MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=--whole-archive -MAKE_ENV+= LIBRPATH="${PREFIX}/lib" GREP_OPTIONS= -TEST_TARGET= test - # Upstream default disabled options .for _option in md2 rc5 sctp ssl3 zlib ${_option:tu}_CONFIGURE_ON= enable-${_option} @@ -89,7 +88,7 @@ ${_option:tu}_CONFIGURE_ON= enable-${_option} # Upstream default enabled options .for _option in asm async dh idea md4 mdc2 md_ghost94 nextprotoneg rfc3779 \ - rmd160 sse2 threads tls1 tls1_1 zlib + rmd160 shared sse2 threads tls1 tls1_1 zlib ${_option:tu}_CONFIGURE_OFF= no-${_option} .endfor @@ -133,6 +132,7 @@ post-configure: ${REINPLACE_CMD} \ -e 's|SHLIB_VERSION_NUMBER "1.1"|SHLIB_VERSION_NUMBER "${OPENSSL_SHLIBVER}"|' \ ${WRKSRC}/include/openssl/opensslv.h + ${REINPLACE_CMD} -e 's|\^GNU ld|GNU|' ${WRKSRC}/Makefile.shared post-install-SHARED-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.${OPENSSL_SHLIBVER} \