git: 1dc59ad02cde - main - net-p2p/libtorrent: enable instrumentation on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 27 Apr 2022 13:40:28 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1dc59ad02cde480a1b5a0c5fd5f40e12f74ce747

commit 1dc59ad02cde480a1b5a0c5fd5f40e12f74ce747
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-04-27 13:22:17 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-04-27 13:22:17 +0000

    net-p2p/libtorrent: enable instrumentation on powerpc
---
 net-p2p/libtorrent/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile
index 2195cb0128fb..8fc1ca095180 100644
--- a/net-p2p/libtorrent/Makefile
+++ b/net-p2p/libtorrent/Makefile
@@ -29,11 +29,11 @@ KQUEUE_CONFIGURE_WITH=	kqueue
 
 .include <bsd.port.pre.mk>
 
-# Disable instrumentation, which requires 64-bit atomic ops, on i386 (when
-# using gcc) and powerpc to avoid linking errors:
+# Disable instrumentation, which requires 64-bit atomic ops, on i386 when using
+# gcc to avoid linking errors:
 # /usr/local/lib/libtorrent.so: undefined reference to `__sync_add_and_fetch_8'
 # /usr/local/lib/libtorrent.so: undefined reference to `__sync_fetch_and_and_8'
-.if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == gcc || ${ARCH} == powerpc
+.if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == gcc
 CONFIGURE_ARGS+=--disable-instrumentation
 .endif