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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB05015812D for ; Mon, 06 Jan 2025 13:38:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1CD21E07C9; Mon, 06 Jan 2025 13:38:49 +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 0037AE07C9 for ; Mon, 06 Jan 2025 13:38:48 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1861133BE32 for ; Mon, 06 Jan 2025 13:38:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A0CB71B5A for ; Mon, 06 Jan 2025 13:38:46 +0000 (UTC) From: "Takuya Wakazono" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Takuya Wakazono" Message-ID: <1736170555.96b436c14adac217a523cafd2a1be605ee401a50.pastalian46@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/afetch/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/afetch/afetch-2.2.0.ebuild X-VCS-Directories: app-misc/afetch/ X-VCS-Committer: pastalian46 X-VCS-Committer-Name: Takuya Wakazono X-VCS-Revision: 96b436c14adac217a523cafd2a1be605ee401a50 X-VCS-Branch: dev Date: Mon, 06 Jan 2025 13:38:46 +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: e0e33025-c2e9-4921-a429-bf55c165efee X-Archives-Hash: c7c321cfcc43fc8670b87aeed08faf28 commit: 96b436c14adac217a523cafd2a1be605ee401a50 Author: Takuya Wakazono gmail com> AuthorDate: Mon Jan 6 13:35:48 2025 +0000 Commit: Takuya Wakazono gmail com> CommitDate: Mon Jan 6 13:35:55 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96b436c1 app-misc/afetch: fix CFLAGS CFLAGS needs to be preserved as upstream assumes compilation with -std=c99. Closes: https://bugs.gentoo.org/945003 Signed-off-by: Takuya Wakazono gmail.com> app-misc/afetch/afetch-2.2.0.ebuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app-misc/afetch/afetch-2.2.0.ebuild b/app-misc/afetch/afetch-2.2.0.ebuild index 11fcd6361..89d7a834b 100644 --- a/app-misc/afetch/afetch-2.2.0.ebuild +++ b/app-misc/afetch/afetch-2.2.0.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit savedconfig @@ -16,11 +16,15 @@ IUSE="savedconfig" src_prepare() { default - sed -e '/^CFLAGS/d' -e 's/LDFLAGS =/LDFLAGS +=/' -i Makefile || die + sed -e 's/-O2//' \ + -e 's/-Wextra//' \ + -e 's/CFLAGS =/CFLAGS +=/' \ + -e 's/LDFLAGS =/LDFLAGS +=/' -i Makefile || die + restore_config src/config.h } src_install() { - emake DESTDIR="${D}" PREFIX="/usr" install + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install save_config src/config.h }