From nobody Wed Oct 11 18:27:22 2023 X-Original-To: dev-commits-ports-all@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 4S5Lpf6rtyz4wWJk; Wed, 11 Oct 2023 18:27:22 +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 4S5Lpf4LZDz4XCm; Wed, 11 Oct 2023 18:27:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697048842; 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=QUB4csT+A3dNWfMjpkb68iJKdIGRTJRk9rM/TunMySU=; b=blnBALda0TtEZksiruF8gOHFVJPNYEzJDFfjbk7Tq79Nj0l+M0NkpSn42JvyqhrzN7745X RZROTB1TyDyniow5vkAFkYX7uPbfM0pc3IU6aZBMe3R7r+TJuEOx0o3y3cEnlZGMPITUuo 1FQ8dMRTa8aI8ZZkJsnKhA31M7Oei9m+7vJYFeuNnW16cO1gKlg+F+NEzHobFt7j/s6o7d jO5o0MbWO2yTjBgtd9MIINA48vhcmSHdGyf51srcX5QBPjZwl/9U0nuo3hF/FWW7i+bdsQ Jj41+jPWDx0ggQyL3Ba7/g+jnkGC76r4POcAyV+JSPizOmta+JbSIQ5mSZlomg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697048842; a=rsa-sha256; cv=none; b=M9CZK6rsNQUS35sLeNEOePSPEnrEDlWWHNClvAmeQoEQOoN/ORxM/4myUBhZunLCNwkTPQ DlpgOxALjwWfuLIT/WVuvZ6GdmtiY9o9yssHLKwSCZrzxlYbJD2OVyH4fztW0wmJ568Mqa YYabvO6OOBou9SgJ6DFYCPXU8rO0+47j8VD42iXKDKpoji/kca6GZVNrXn9YckAzFXWb0b vynMxjRYHxv/aRcbXXC6z6g7mdDWYTCIBPcS2NMA1+PCHWVi+F0kmP72yiWh64DJpz6I8X 0/JHfj0zeuBZHEyJ2SMJCSb4gzbxITeQboD0c/TjAeO1OwAE615rFhLH9woz5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697048842; 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=QUB4csT+A3dNWfMjpkb68iJKdIGRTJRk9rM/TunMySU=; b=W0UasdNN8LMPgMJ/kVintcmQpaBddopDT8vWAVZ4U5etDKSrbPLb6jChNt2XA++JZL4D2q oybFjl7s5V5DdO5sxtzKRedbN6hGQrOVK4z07tT7Z+FfXU8h2xTm+wINB55EtmhnG8zTPN Gw4JWb1zh23WkXhCGrGY7JnEXYTA+A5YPbBpBW1EDQkOKfaHiqGkrXWStm2/G5af+TzHw2 AWaC+bNy90jWrGfGQtXRs7FrlpJ9jt8cAKB722NwQt0kV+xt2sJqUEtICruz1OZJek2bXZ gTZ8LL5Uo/vR4XMp0Sjm8XcelrM9fa0/uqKqkVDU513+6qoOzn+ETUUZpnvb6w== 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 4S5Lpf3SftzXJC; Wed, 11 Oct 2023 18:27:22 +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 39BIRM6u091646; Wed, 11 Oct 2023 18:27:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39BIRMp6091643; Wed, 11 Oct 2023 18:27:22 GMT (envelope-from git) Date: Wed, 11 Oct 2023 18:27:22 GMT Message-Id: <202310111827.39BIRMp6091643@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 470078b9dc38 - main - sysutils/fselect: fix build on powerpc List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 470078b9dc383688895bdf5fa3142ff80836e8d9 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=470078b9dc383688895bdf5fa3142ff80836e8d9 commit 470078b9dc383688895bdf5fa3142ff80836e8d9 Author: Piotr Kubaj AuthorDate: 2023-10-11 12:13:05 +0000 Commit: Piotr Kubaj CommitDate: 2023-10-11 18:26:45 +0000 sysutils/fselect: fix build on powerpc = note: ld: error: undefined symbol: __atomic_load_8 --- sysutils/fselect/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sysutils/fselect/Makefile b/sysutils/fselect/Makefile index 3cc7972a93e8..075e0ab8b508 100644 --- a/sysutils/fselect/Makefile +++ b/sysutils/fselect/Makefile @@ -29,6 +29,13 @@ OPTIONS_DEFAULT= USERS USERS_DESC= Query with 'user' and 'group' fields USERS_VARS= CARGO_FEATURES+=users +.include + +.if ${ARCH} == powerpc +LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT} +LDFLAGS+= -L/usr/local/lib/gcc${GCC_DEFAULT} -latomic +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1