From nobody Fri Aug 18 07:53:54 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 4RRvJf5Jjwz4qryZ; Fri, 18 Aug 2023 07:53:54 +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 4RRvJf3C5yz3L8q; Fri, 18 Aug 2023 07:53:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692345234; 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=8/FnV4wlK+MfcadlSaF2ufPRmSFMD++BXBiqBJZ2ekA=; b=YgJOi8tyPdaT64QtBpalD64tAXs77UFPdLwP7nhfpP7ohkN0jPZDsMDnE6ob+nGt1RA3EI CJEx5x0BFEWZKkGz45HBijaIfGplQyAEXdyUWw/tNdyYd9pFuaHPOAB88GQ0BjD5cXbGvn k/2dczzp61mEVztuZMZje7SCDv00LxxHjg8B1BczIUSMJAawjk/yORU1NxBZDg+cZLkJyl Xi83e2tGfBVUmU3PYePtTl59kFE/Uwd7TAR0SPalEiQv8NWsEz2AAOaJI1iOvx27i8N1V9 yuUScOR8Hc2+RZeCtG31SucGaUnC7R2Dwl0YkjejbpiRVr6rpnL3yaqfYlP8Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692345234; 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=8/FnV4wlK+MfcadlSaF2ufPRmSFMD++BXBiqBJZ2ekA=; b=jzWU+Gzl1cJYgRwfEc04vRjuDJnnxzi4YxV5NkGHbcWvGq+6gPpXt2XU0y95aWleJBBguZ FiX/3Yt7nPcDjyiWhV1GLw3UpLUz1ZjUqJH2ciMYX/diWDIc7GLaxxmtAmXV+Z9dP+Mn07 uX+xHvXolor3SkNSIDI/VMgYlbMfuh/4KfZRSb4oL/Lt17zlNPQs63BzIbcjm8hvZp5qWk VD5WkaSwskgSrPzK8mv+1oflRI4Dj2qpji1Lh+YV7ztNSO+sXuLKkgPGln6+BoUugyGltd vXsg6zcbDsp4RZVXEP3R7ohCTr0dBujDc3TZJ1jEfZ0SOIZj32rEZKMViPQDSQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692345234; a=rsa-sha256; cv=none; b=mBggHiaMFp4ymC9Gd5ou1w+M4z5VhXpIU+YRr6i+5K5TiLuqYbqXWs/VmH5hXmrQX9re0L ddC8xCGeFbSgNFLPmEdUNVIBwFTVSogVUxdcJBBUoy/5c/Nwi+5PhW8PVlZp1FvDYnYuKf SWsncEAF/h/PDE9hctc7ryH5N9YLIkPCjRYivCQ6au0+2mWaXVAZRw73aeSUU3UZNO7jn/ P+VzYLAZK4V7toq/GsC+u5cMaCIkei2C0FNQIX1H1sTycEWpwqxTHeDHdzw6UdpHuUjyRw ms0s68h1tTELT/8i8AUXUsEOZ1EDIzHn0Cv4L64U8HVIZXp4GrtYmkMchG9Yzg== 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 4RRvJf1qf8z17Ss; Fri, 18 Aug 2023 07:53:54 +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 37I7rsvc084027; Fri, 18 Aug 2023 07:53:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37I7rs39084024; Fri, 18 Aug 2023 07:53:54 GMT (envelope-from git) Date: Fri, 18 Aug 2023 07:53:54 GMT Message-Id: <202308180753.37I7rs39084024@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: 474cdc3f85b4 - main - cad/librnd: 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: 474cdc3f85b4335f4cab0d484459ad27551b02ef Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=474cdc3f85b4335f4cab0d484459ad27551b02ef commit 474cdc3f85b4335f4cab0d484459ad27551b02ef Author: Muhammad Moinur Rahman AuthorDate: 2023-08-18 07:10:50 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-18 07:53:30 +0000 cad/librnd: Fix build on 14 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- cad/librnd/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cad/librnd/Makefile b/cad/librnd/Makefile index c6ecf98cb550..d9c187f849bb 100644 --- a/cad/librnd/Makefile +++ b/cad/librnd/Makefile @@ -69,6 +69,15 @@ STROKE_CONFIGURE_OFF= --disable-stroke WGET_RUN_DEPENDS= wget:ftp/wget WGET_CONFIGURE_OFF= --disable-lib_wget +.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 + .include .if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGTK4} || ${PORT_OPTIONS:MMOTIF}