From nobody Wed Jul 26 17:47:16 2023 X-Original-To: dev-commits-ports-all@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 4RB1Yw5p0Wz4pPXd; Wed, 26 Jul 2023 17:47:16 +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 4RB1Yw4p24z3kJr; Wed, 26 Jul 2023 17:47:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690393636; 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=krXVoBuTbhkudGvh3k9G/amqnfwhZREwQ6DHnG86kAo=; b=h07CFhnRfQT7iFaAHgbQ5cvEhSXgCQmW2sbdU9R15Wzp+WSIhMedReJWy6agDbMNbpJqTr z5tPR7K/Fofu3/2bYU5LZ1Zwlbzx34T8K0FkekdfcroMUrdmjXw3KmdIvYPJ2f7gAtPm2l A0ypWXeWONWkHHrC5LlADyz7bniynTjO3Cy0YVe84dgVfIz0u5mV6bqhDVacL3GAagg+Rt u+NoYA6Er5/r5OcZvE7J2afu92gRovE6TsSD6YuDdLfedVRsBVHa8UN6BOq6C34BHL8XGG BHUEdLjbQrOiBgsnL9ooAXTaN+eYMBNe0C5KeEo8v33Gmk71tiC2ciSZdxYiNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690393636; 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=krXVoBuTbhkudGvh3k9G/amqnfwhZREwQ6DHnG86kAo=; b=dbfKBTnhu5pYviiwDw+6b5sq4jVmPX8ObEyI7PSSPARZ/W+Go9wu5sxz1zMlUVI18Eep5W akD2AwRlltaZZxN53hYx9drCk0f8TwLKAYuN44FvTwitukw1mY7X5NwyuG+nmaFqQeZo4X W5+fRnachc2WwPWxSOIERg4KTt3tCd507PboYa18gmOIsBcRT2DRSjAEPJ9TpxBN2SFtKp r9Sl9UnkEc3CYsUS757DSQmByrt4qqyQ+0Bfyh3LU9HKFEXPzfYRwrNwlHveQLdlWrrJQw BsTzPkJ2oaPvGIS8CjSAQQjGrDS75MGLAwc9XZaFlMvlqmaoTVn8rXP0uePanw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690393636; a=rsa-sha256; cv=none; b=m8vJxeANz6NFWicSB57j9LAuRDkzifUwfp2xhFet3AmlAtLEyxttqQk6cdsx6ZnPCdJzMI fiBIgGsqRjOKHfrXzWC4qErLVBrqSk2kYdrg9iRAOdpi2omadxxd8sRFOgpiFZING45HGF vZxZ0vhORzgLccRQIy+A6sJamCUpDj34FRCPS0JXYes8YDcM1dRJYwR8b1MoTkjloo6IzH HqAFQMNvi+n4hxqFOf1mxkBOIqvQQ2rLioqMwRVn7XcMOvgq4u5oE7loshwRteUkf796Hd SyHfG+AmfJEmkyuGAeMVoihv+NUFi4BwSpwVCfyy3BFR3Ud9xisbpi5SlNaYsA== 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 4RB1Yw3tjZzsDx; Wed, 26 Jul 2023 17:47:16 +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 36QHlGB9053217; Wed, 26 Jul 2023 17:47:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36QHlGhN053216; Wed, 26 Jul 2023 17:47:16 GMT (envelope-from git) Date: Wed, 26 Jul 2023 17:47:16 GMT Message-Id: <202307261747.36QHlGhN053216@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: 364f59940199 - main - net/lavinmq: Fix build with openssl3 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 364f59940199e45a608ea2c53363d08243e3aa93 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=364f59940199e45a608ea2c53363d08243e3aa93 commit 364f59940199e45a608ea2c53363d08243e3aa93 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-26 17:18:33 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-26 17:47:05 +0000 net/lavinmq: Fix build with openssl3 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- net/lavinmq/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net/lavinmq/Makefile b/net/lavinmq/Makefile index 5ae75f50cfc0..bf6c119b8173 100644 --- a/net/lavinmq/Makefile +++ b/net/lavinmq/Makefile @@ -11,8 +11,6 @@ WWW= https://www.lavinmq.com/ LICENSE= APACHE20 -BROKEN_FreeBSD_14= Incompatible with OpenSSL 3.0 in 14-CURRENT - BUILD_DEPENDS= crystal:lang/crystal \ help2man:misc/help2man \ shards:devel/shards @@ -40,6 +38,12 @@ OPTIONS_DEFINE= DOCS SHARDS_ENV= --time --verbose --production --release --no-color --stats \ --static +.include + +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} +CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L +.endif + post-extract: # force shards to use local paths, not git repos, for dependencies @${RM} ${WRKSRC}/shard.lock