From nobody Sun Jul 23 22:16:24 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R8Hgs1Zddz4p9P5; Sun, 23 Jul 2023 22:16:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8Hgs153fz4BxG; Sun, 23 Jul 2023 22:16:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690150585; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vjB58m5NUYvn4OwGyZuV5D10QwAu/StDLORgavA22eg=; b=tNRGReFjnvPSS7BDZ8Ihr+jnn1Q6RYMQC41J7sQDq7BLsSXOnwbMi1RQY6GRv0850kUsXq CikQcDmPdWU+xsDjpd09WmzxILg0zlFdyOLyE2F40Jf1w+Ng6I1hxdau/DSxhQc4ZxgEDF oIDDHC+lIjNaMNKM8UX1EAuxBuZ8xnJYVlazIK+rt6PFNA59GMfPH96J6JjwzD7SsGqUP6 0iRDZsb7wUUJGmfe7GGRzT6Luw4pyvpGs83yF/OSrhczglR99cqdokt4oKf1sMveZ+gg1U IHSFPYkdiqT2hbTVOP9VpGviH8ldVtMkBtS3A2DPV5T7oUYwqpl4m16cC3NGPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690150585; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vjB58m5NUYvn4OwGyZuV5D10QwAu/StDLORgavA22eg=; b=L9k/4dckeRCx++OUFKx5Dumnp54zP+PhYFjI1hqJMW/pA/Mb7hm0WXtFGVKrWZWNyHzqIm wW9ZjMd4XUpi0tH9QAvA2/B1SU7+VEgqWakyZsvD3ZYSUZf8hWvy70uBrogPfvToj53kzG g0Y+WHyvKeBdedO9+fzyIg7fPk4pcGW/07QVDJUkHtZnJkWWn6o1LUJOpY8JjKwKLdyV19 mcu8zwcT5eme4i4j3Sv2aKaxLhq1LmBA23gO/AUDC0tFg6vbvzYaQuC7rh+nriQtdMAIH3 Blkwj7ces6wMKBh4i3Ud9OfUJTdHw+Fb1ySH8b3b0o5YjBdAC9kgMPlwwP9SCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690150585; a=rsa-sha256; cv=none; b=qdjgg3567TQzaRTx9E0R5TMUWeyfSgzRSRUNOL7pOXDsu/8qQ+LZEKY3Y3LDwGHHIyBoq5 z0L4W9RtpoeYneo7q6bPhdHCdy32u8HScy3NvtkiXpFf1cf+UcgJ1egpgrWTHdcYYUv+/f cE+NUIDEg9fI2b5eaAHs5tcKTiPW5W5BrXJppKzmYD9OY5lqs6hNMjxPEum7wAT0nQfK9T 7wNOaUaQFD+/+x0g59X9KRd4A6olUndCavdqC6jTtFIwGkwVSphkhwzvMMfG4Ip1BpwLl6 cs79B7lG+0LiWQfmYtAjYp8Ux4NQKO63FA/9RXiwM5urN7KZh1LxRS3QC7RC5A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R8Hgs09ZLztV6; Sun, 23 Jul 2023 22:16:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36NMGOVt041104; Sun, 23 Jul 2023 22:16:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36NMGOLj041103; Sun, 23 Jul 2023 22:16:24 GMT (envelope-from git) Date: Sun, 23 Jul 2023 22:16:24 GMT Message-Id: <202307232216.36NMGOLj041103@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 12148e9752db - main - devel/ucommon: Fix build with openssl3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 12148e9752dba827fd018f173f75e06d60cde28d Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=12148e9752dba827fd018f173f75e06d60cde28d commit 12148e9752dba827fd018f173f75e06d60cde28d Author: Muhammad Moinur Rahman AuthorDate: 2023-07-23 20:16:50 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-23 22:16:15 +0000 devel/ucommon: Fix build with openssl3 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/ucommon/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devel/ucommon/Makefile b/devel/ucommon/Makefile index b86b69db4292..35a55dc8593d 100644 --- a/devel/ucommon/Makefile +++ b/devel/ucommon/Makefile @@ -23,6 +23,10 @@ TEST_TARGET= test USE_CXXSTD= c++11 .endif +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} +CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L" +.endif + post-install: ${INSTALL_DATA} ${BUILD_WRKSRC}/ucommon-config.h ${STAGEDIR}${PREFIX}/include/ucommon