git: 7c7d0109c8b2 - 2022Q3 - cad/nvc: Fix build on systems without unwind.h in base
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Jul 2022 08:41:46 UTC
The branch 2022Q3 has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=7c7d0109c8b244dd5c0b77f6d7ca7773d8f200d9 commit 7c7d0109c8b244dd5c0b77f6d7ca7773d8f200d9 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-07-27 08:40:21 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-27 08:41:44 +0000 cad/nvc: Fix build on systems without unwind.h in base Reported by: fallout (cherry picked from commit 3ed6f14a30040a98d0bfff1ea078e081f57a8663) --- cad/nvc/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cad/nvc/Makefile b/cad/nvc/Makefile index f998b02499f8..90d6b6aa39a7 100644 --- a/cad/nvc/Makefile +++ b/cad/nvc/Makefile @@ -15,6 +15,9 @@ BROKEN_armv7= use of undeclared identifier '_URC_NO_REASON', see https://github. 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 +.if !exists(/usr/include/unwind.h) +LIB_DEPENDS= libunwind.so:devel/libunwind +.endif USES= autoreconf compiler:c++14-lang localbase pkgconfig