From nobody Sun May 08 19:05:51 2022 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 9AA7A1ACE454; Sun, 8 May 2022 19:05:51 +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 4KxDKW3xTdz3wQs; Sun, 8 May 2022 19:05:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652036751; 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=rOFgv0f5xLkcBnfqqldQuru9my9DLMB8SLUD/rlt3P4=; b=Dfc9fPNd+8Pe4Y/kP1UN1sQ+3CkmdOH4aGjuUq0KkeaSp3var18MnMsZdMvgO4aEIrT4x0 RXWJu2BDn0hVLGew3yWd9MA83HZ1oO2Cls7/LFHAhc90uGVH04CsdwxINbkZvSFcV6BpG2 hiROg3FwBvv1B/H4NnTgk5jL+rS4MKVtCtNmkir6ALiF5+IQXkhJSmIXIP/wjZ4oEgfkV6 2k522sQDy1rgVf5fig0kUePUNurRDoEWjGniN2HCrIqBa1sqceGQQhtXg4ZbaQlxbhp3oR kexe/4tbXooG2YoqhBDo0e9EwYVFZWe+Ohebqicq2mg3c+7dLQkKSWH5eAcSZw== 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 6822B2A3AC; Sun, 8 May 2022 19:05:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 248J5p3A015921; Sun, 8 May 2022 19:05:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 248J5pHu015920; Sun, 8 May 2022 19:05:51 GMT (envelope-from git) Date: Sun, 8 May 2022 19:05:51 GMT Message-Id: <202205081905.248J5pHu015920@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 07ca8a486f68 - main - cad/nvc: Fix dependency on devel/libunwind 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 07ca8a486f688fc2f042b81a2339ceb6d7e99e32 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652036751; 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=rOFgv0f5xLkcBnfqqldQuru9my9DLMB8SLUD/rlt3P4=; b=YBr8R8rnOwjA95bUZOGELr+Yb/WmmJnN1j0Q26oHQeiam3lqLOzRubReLNX0cngtqmmZUW 88nITVy/BnFZLy8K3iXA8nsf+7U/H/X9K4Ii6SRYpslH9ltq9NOCu6PIsDBueDv/eBZAdY 9Q4+ABtyaK4EjHZRkGG2H91/Nf/vi69HMDempiQtCFVNRYSPVss6EqQQu5x8w7tcEkVCck r3PUwFUzPMfGGmZCZyzd9vbRy+6h3LSzVpNwxXIuihmNyLhPNDC6Q+z72jpJUwRY4C3Itu 0UT/rq7tCqj5+jAmbpo+MAEjM+Y64FtJJZFwpnxv3rj89xSEEv62ssrOm/k6Eg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652036751; a=rsa-sha256; cv=none; b=KN2FBVDDq/9QqazsYiYl24DW/e4QkEEMDjqX68HM7oECnOKEXe2UtBgdJjT1M2zvflxqJV /xg+g12VJmmT3rfki4JfjFgdTLgYCyN6PBEXRdjlHh/0mEpMCGtnXoBGA4NErtPH0KPvKD EBiWM5zcAbArXG92Hcd7sAGkIX5n8KaQDhnDXb+g1VmUYmaBkmNNBI/xubioTsesb9hZSQ a2w5E2Z3oEOW/AVRwKx8n8mH9xvPGsC7ONGTt/rISp2WR3hwJIGzf/+pCYdGA3kiqDxYv8 cqVA7FcjlfKDDvn3dRwfapaWZN4zWUiYIhoR3rHowYNfTZyJm2N9eYEz069dkA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=07ca8a486f688fc2f042b81a2339ceb6d7e99e32 commit 07ca8a486f688fc2f042b81a2339ceb6d7e99e32 Author: Yuri Victorovich AuthorDate: 2022-05-08 19:04:44 +0000 Commit: Yuri Victorovich CommitDate: 2022-05-08 19:04:44 +0000 cad/nvc: Fix dependency on devel/libunwind It is needed only when ${OSVERSION} < 1400052. Reported by: fallout --- cad/nvc/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cad/nvc/Makefile b/cad/nvc/Makefile index a217d797808a..ef004c944c10 100644 --- a/cad/nvc/Makefile +++ b/cad/nvc/Makefile @@ -9,8 +9,7 @@ COMMENT= VHDL compiler and simulator LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= llvm-config${LLVM_VERSION}:devel/llvm${LLVM_VERSION} \ - ${LOCALBASE}/include/unwind.h:devel/libunwind +BUILD_DEPENDS= llvm-config${LLVM_VERSION}:devel/llvm${LLVM_VERSION} RUN_DEPENDS= llvm${LLVM_VERSION}>0:devel/llvm${LLVM_VERSION} TEST_DEPENDS= check>0:devel/check @@ -31,6 +30,12 @@ MAKE_ARGS= CFLAGS="${CFLAGS}" # only for tests LLVM_VERSION= ${LLVM_DEFAULT} +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400052 # devel/libunwind installs include/unwind.h only before that version, after which it probably exists in the base +BUILD_DEPENDS+= ${LOCALBASE}/include/unwind.h:devel/libunwind +.endif + post-install: ${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD}