From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E8CD5158090 for ; Sat, 7 May 2022 18:24:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE7FCE07EF; Sat, 7 May 2022 18:24:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B2241E07EF for ; Sat, 7 May 2022 18:24:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C660A34175A for ; Sat, 7 May 2022 18:24:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 16DF03FB for ; Sat, 7 May 2022 18:24:36 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1651947784.0fa7d95ca750542c919b710247e81b05b27b56c1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/slibtool/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/slibtool/slibtool-0.5.34.ebuild sys-devel/slibtool/slibtool-9999.ebuild X-VCS-Directories: sys-devel/slibtool/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0fa7d95ca750542c919b710247e81b05b27b56c1 X-VCS-Branch: master Date: Sat, 7 May 2022 18:24:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cfd89e53-1061-4cd9-a316-875213ab6c32 X-Archives-Hash: 1e0f23d65679e3f85d9e9ef3dc56e07f commit: 0fa7d95ca750542c919b710247e81b05b27b56c1 Author: orbea riseup net> AuthorDate: Sat May 7 18:14:15 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat May 7 18:23:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fa7d95c sys-devel/slibtool: Fix build with self-hosted clang When building slibtool with a self-hosted clang as documented on the gentoo wiki the build will fail with many undefined references. The problem is because the ebuild has neglected to use --libdir and the sofort build system will then append -L/usr/lib instead of the correct -L/usr/lib64. Reference: https://wiki.gentoo.org/wiki/Clang#Bootstrapping_the_Clang_toolchain Signed-off-by: orbea riseup.net> Closes: https://github.com/gentoo/gentoo/pull/25373 Signed-off-by: Sam James gentoo.org> sys-devel/slibtool/slibtool-0.5.34.ebuild | 1 + sys-devel/slibtool/slibtool-9999.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/sys-devel/slibtool/slibtool-0.5.34.ebuild b/sys-devel/slibtool/slibtool-0.5.34.ebuild index a25f2ba8e597..c176e886d89c 100644 --- a/sys-devel/slibtool/slibtool-0.5.34.ebuild +++ b/sys-devel/slibtool/slibtool-0.5.34.ebuild @@ -32,5 +32,6 @@ src_configure() { --compiler="$(tc-getCC)" \ --host=${CHOST} \ --prefix="${EPREFIX}"/usr \ + --libdir="$(get_libdir)" \ || die } diff --git a/sys-devel/slibtool/slibtool-9999.ebuild b/sys-devel/slibtool/slibtool-9999.ebuild index 632175369588..200a19a514d4 100644 --- a/sys-devel/slibtool/slibtool-9999.ebuild +++ b/sys-devel/slibtool/slibtool-9999.ebuild @@ -32,5 +32,6 @@ src_configure() { --compiler="$(tc-getCC)" \ --host=${CHOST} \ --prefix="${EPREFIX}"/usr \ + --libdir="$(get_libdir)" \ || die }