commit:     d7e248ed115e70771cf5ea3f65a58949ac77cb3b
Author:     Andre <openrc <AT> posteo <DOT> de>
AuthorDate: Sat Mar  1 13:34:05 2025 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Sat Mar  1 13:34:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d7e248ed

sys-apps/flashprog: Fix Werror and incorrect path bugs

Signed-off-by: Andre <openrc <AT> posteo.de>

 sys-apps/flashprog/flashprog-1.2.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/sys-apps/flashprog/flashprog-1.2.ebuild 
b/sys-apps/flashprog/flashprog-1.2.ebuild
index 444cb1793..3e9d1b40a 100644
--- a/sys-apps/flashprog/flashprog-1.2.ebuild
+++ b/sys-apps/flashprog/flashprog-1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2024 Gentoo Authors
+# Copyright 2024-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 EAPI=8
 DESCRIPTION="Utility for identifying, reading, writing, verifying and erasing 
flash chips."
@@ -13,3 +13,9 @@ RDEPEND=">=dev-libs/libusb-1.0.26
 >=dev-libs/libgpiod-1.6.4
 >=sys-apps/pciutils-3.13.0"
 DEPEND="${RDEPEND}"
+src_compile() {
+       emake WARNERROR=no
+}
+src_install() {
+       emake DESTDIR="${D}" PREFIX="/usr" install
+}

Reply via email to