From nobody Wed Aug 16 05:34:53 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 4RQcK970W3z4qFPf; Wed, 16 Aug 2023 05:34:53 +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 4RQcK94k3Tz3Fj3; Wed, 16 Aug 2023 05:34:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692164093; 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=5tKV/YyiBIrz0VVlhACVJ1RxGBg0+wSzLx6ZvUm8Mkw=; b=t6qJCVy+wNqxcx5C+xYSuyo4B+bcBB1c+9DiwODWCi0UdVGNabfXPcotfdEFDU+kv55Kf2 mfGN+OTjyk9moDNXdCCaYjgmZplQ/LB+/O71S60ck+q8s5ZE5+qM8lWccFH/A8jt92Pn8i A/4hPRmqYMYlmbzMBtBGgedxRuAG23ScMvV6VBz7OyOlF5cg9PKyBexb6+EJZGk/LGe8j5 GD4slrlCQM7RpkUNcufd74zTjoD1fo4zNNAK0N0q/OiyKnDpM3ywjMJjbmAnlZp3Fk8ZdO z0C21WTyQa/khJ1RJ3TVol6qfHu06wWeztRHArzLdgLMFFXyWVFgUyofvVzk2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692164093; 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=5tKV/YyiBIrz0VVlhACVJ1RxGBg0+wSzLx6ZvUm8Mkw=; b=fdJA521++ew19RCpkPOXqmg9yhyBex2hkHHzaN1/lp4IizdAOwdhozTGnu1AQTBIHbVLnn UhCxplOUGXsGXM84p4T+n/EkpJflv66WNaP5bi23jqm3kWrIHqPuOBfLOW938GB33X0hql sLVdGQC5aq31x29WtLTcZKkKqoNUGPVcMuYbK1CQcbyr5ZzIPwCYbXJqKObbENaQxrfy9b Unw+j/ZmP+aAoywtO1AxHB3p2UMtv0LrY3jEGTX82kSkN0q6u1u5PzBAT+hUbTeI6uHCgM 5JU3A2zBcOrHNkcUBhvf/vs1EOW/Fuj/P6HeDj7gxrCrl0mEqHI/5ILcUwMeLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692164093; a=rsa-sha256; cv=none; b=MvRJara0TcS+c5fPX9J2iE4+LBWf2l+Qo3zIfW4X8sc709UTuOuUSVqPMqw6gCG4RPlIvp eJzJF+F6Y329RdXoSUpGeqH0lQ0PvDFmeI3Kv4nkycRnOULpMmTBN3OacK8pwJ8qNz/vqG HHqzpYtEEc3y+GKqlAxnySQE5rRiLeOsHQajsPhZiBo08g1bVKEe7MLlgnWL7MepguBGD6 brK2MhHeuMmgZqmwi/NP92synhyoJB3GDYpN4pjKZ7juaVg6+gHHSCIHN2IQ5SKAA04tt5 u1gIm72Fk/hFb7Mm3/59tE6CdBw6gEuiB79ZUZUBQ+tCfp3t1mnotP5RbuQQTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RQcK93lz8zgSm; Wed, 16 Aug 2023 05:34:53 +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 37G5Yrq5024191; Wed, 16 Aug 2023 05:34:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37G5YrJI024188; Wed, 16 Aug 2023 05:34:53 GMT (envelope-from git) Date: Wed, 16 Aug 2023 05:34:53 GMT Message-Id: <202308160534.37G5YrJI024188@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: 3b09134588a4 - main - math/asymptote: Fix build on 14 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: 3b09134588a42a227abaf8ceed7cff5143dcf36b Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b09134588a42a227abaf8ceed7cff5143dcf36b commit 3b09134588a42a227abaf8ceed7cff5143dcf36b Author: Muhammad Moinur Rahman AuthorDate: 2023-08-16 05:22:16 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-16 05:34:38 +0000 math/asymptote: Fix build on 14 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- math/asymptote/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile index b29c6157bdc1..2bf1ed3b2d9e 100644 --- a/math/asymptote/Makefile +++ b/math/asymptote/Makefile @@ -82,6 +82,15 @@ TEST_WRKSRC= ${WRKSRC}/tests PORTEXAMPLES= * +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +USES+= llvm:max=15 +CC= clang${LLVM_VERSION} +CPP= clang-cpp${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +.endif + post-patch: @${REINPLACE_CMD} 's/-lgc/-lgc-threaded/' ${WRKSRC}/configure @${REINPLACE_CMD} 's,makeinfo,${LOCALBASE}/bin/makeinfo,' \