From c50628bbbd58999b8bf06f26d6bf8ab641fa1997 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sat, 26 Sep 2020 18:04:30 +0100 Subject: sys-apps/alix-leds: move to EAPI 7 Package-Manager: Portage-3.0.4, Repoman-3.0.1 --- sys-apps/alix-leds/alix-leds-3.0.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'sys-apps') diff --git a/sys-apps/alix-leds/alix-leds-3.0.ebuild b/sys-apps/alix-leds/alix-leds-3.0.ebuild index fc4778d1..65519178 100644 --- a/sys-apps/alix-leds/alix-leds-3.0.ebuild +++ b/sys-apps/alix-leds/alix-leds-3.0.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit eutils DESCRIPTION="Tools to manage LEDs on Alix board" @@ -13,12 +13,14 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="" +PATCHES=( + "${FILESDIR}/${P}-nostrip.diff" + "${FILESDIR}/${P}-libc.diff" +) + src_prepare() { default - eapply "${FILESDIR}/${P}-nostrip.diff" - eapply "${FILESDIR}/${P}-libc.diff" - sed -ri \ -e "/^CFLAGS/ s:-Os -mpreferred-stack-boundary=2:${CFLAGS}:" \ -e "/^LDFLAGS/ s:=:=${LDFLAGS}:" \ -- cgit v1.2.3