From nobody Tue Nov 14 17:23:44 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 4SVCnX5nRMz51bJK; Tue, 14 Nov 2023 17:23:44 +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 4SVCnX5K78z3H7P; Tue, 14 Nov 2023 17:23:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699982624; 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=CgKwZp8Q6pHYDw03gIoFEwOswJsm069DSZB+PUmOBPM=; b=YXZTppJabzd+zY3InCrdeaMo21MFi1HyUi7DzRjf3fL9eWoQtQCGOoH6FvDZ85N8YinoQU 03BZ70JYIO2w40StAn2aZDKrFTLmskNBNvRbrRmJFmRn5YQ2siFhf7XZDeoi5am+W5+bok HkuwY7m37jeTg5DKcwmuUqsk5EZPO/UPQYvG+zj9Q291KwQjDu71mjFUNW2uy7yTMf84eS YK2IW/f/xL4kojVMfaFKLiorZTZ+guJBkkMEgr0Nx41RiLBR+6KqAoSjVrFN17msDeTd8t 7iIstaTcolugLERk+rYo8ko/0KfGWlwuxt5IVA3HvyjfF9BwKfkOm8DZ4oAPQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699982624; 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=CgKwZp8Q6pHYDw03gIoFEwOswJsm069DSZB+PUmOBPM=; b=DSBN1wk3LoGYvZPVv21hoQKjv9bQ4qXk6ABV2ygYl1KodrO8GDiyyBc1gDPvbx01bnLfaz ROedyyVDpFFueQ5Hgrgtwh57TUbogPtIsslRKiBHwUOXf4QjJAPATPlcB/PwyE9hXxc6a0 IZH2t5STBVJqFp/2NI6rI2EOExLeLNC9sm9XrI/hRpKBQ0gpF8IhlGSRjYssyfMqCBzCcq 1aUIirMUaG24lqj611UxiKRIg2rXLldgPlELNPkPUrzT1lW5+3UJjCP0BFf21TjiIGolJP +0czZ6q5B8o4lImOg6utLf/pDGu06RPUg2M2894NzXct0LCVOkm/AAqGKExXzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699982624; a=rsa-sha256; cv=none; b=a55qmaWyCMA/P4t2sb7xccfxA8N+I40dTFdeaRJ6WMCBAHWyTbTsBLNuQkFohYaNwLJ6iC fZ7A9u9pwg91mfM3Tbj2K+b3C0BEn5B8QX2zTamCWn63d1Tf2PpquAXO7BuAd4RJZ0a/bJ IdouNsVaVRAntoDW/s0ATtZWsnL9V1A9UXytZrDvwwY2sar/BBEgTvmQ5dE/7ccvn5Pms1 gLYjkPCuwLRs84GlgyJhiCYtQu3WXo8ae5KPayKyr9jA67mSVLwC3jotp7dam2fnCewr8t onLfTIdFn5hWDI2Thbijz4cIc78ef0RJFMoFLmG1xl1p478eRlim447lnruFPQ== 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 4SVCnX4JLYzxL5; Tue, 14 Nov 2023 17:23:44 +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 3AEHNidu084999; Tue, 14 Nov 2023 17:23:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AEHNivx084996; Tue, 14 Nov 2023 17:23:44 GMT (envelope-from git) Date: Tue, 14 Nov 2023 17:23:44 GMT Message-Id: <202311141723.3AEHNivx084996@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 6ce0588e3a08 - main - lang/lfortran: Unbreak this port on FreeBSD 12 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6ce0588e3a081446640995946ab14bcbffa27ef6 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6ce0588e3a081446640995946ab14bcbffa27ef6 commit 6ce0588e3a081446640995946ab14bcbffa27ef6 Author: Po-Chuan Hsieh AuthorDate: 2023-11-14 16:53:49 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-11-14 17:16:49 +0000 lang/lfortran: Unbreak this port on FreeBSD 12 Approved by: portmgr (blanket) --- lang/lfortran/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/lfortran/Makefile b/lang/lfortran/Makefile index 55af5fce060e..8c74edbe3189 100644 --- a/lang/lfortran/Makefile +++ b/lang/lfortran/Makefile @@ -9,7 +9,6 @@ WWW= https://lfortran.org/ LICENSE= BSD3CLAUSE -BROKEN_FreeBSD_12= use of undeclared identifier '_Unwind_Backtrace' BROKEN_i386= sizeof(YYSTYPE) != sizeof(Vec) BUILD_DEPENDS= bash:shells/bash \ @@ -32,6 +31,9 @@ CMAKE_ON= LFORTRAN_BUILD_ALL WITH_DWARFDUMP WITH_FMT WITH_JSON \ WITH_LINKH WITH_LLVM WITH_STACKTRACE WITH_UNWIND USE_LDCONFIG= yes +CXXFLAGS+= ${CXXFLAGS_${OPSYS}_${OSREL:R}} +CXXFLAGS_FreeBSD_12= -D_GNU_SOURCE + LLVM_VERSION= 15 # 16 is supported too OPTIONS_DEFINE= EXAMPLES # NB