git: 612702b46d1e - main - devel/google-perftools: Actually link to libunwind.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Mar 2022 15:39:11 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=612702b46d1e937da7fb72b44fb009f92d7344f3
commit 612702b46d1e937da7fb72b44fb009f92d7344f3
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2022-03-14 15:37:47 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-03-14 15:38:49 +0000
devel/google-perftools: Actually link to libunwind.
This fixes the build on recent CURRENT.
Approved by: yuri (maintainer, via email)
---
devel/google-perftools/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/devel/google-perftools/Makefile b/devel/google-perftools/Makefile
index 303c5d6cc575..8eb3803df5bd 100644
--- a/devel/google-perftools/Makefile
+++ b/devel/google-perftools/Makefile
@@ -3,7 +3,7 @@
PORTNAME= google-perftools
DISTVERSIONPREFIX= gperftools-
DISTVERSION= 2.9.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= https://github.com/gperftools/gperftools/releases/download/gperftools-${PORTVERSION}/
DISTNAME= gperftools-${PORTVERSION}
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= fails to compile: src/stacktrace.cc:230:2: Cannot calculate stack trace: will need to write for your environment
BROKEN_riscv64= fails to compile: src/base/basictypes.h:387:5: Could not determine cache line length - unknown architecture
-USES= compiler:c11 gmake libtool
+USES= compiler:c11 gmake libtool localbase:ldflags
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
TEST_TARGET= check
@@ -62,6 +62,7 @@ CONFIGURE_ARGS+=--enable-frame-pointers
# keep in sync with all platforms where libunwind is available
.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le
LIB_DEPENDS+= libunwind.so:devel/libunwind
+LIBS+= -lunwind
.endif
post-build: