commit:     aaca421abdb128a7e7600b9e1de1a01b4524d386
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 21 17:01:29 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Oct 21 18:22:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaca421a

net-wireless/crackle: Port to EAPI 8

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 .../crackle/{crackle-0.1.ebuild => crackle-0.1-r1.ebuild}   | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/net-wireless/crackle/crackle-0.1.ebuild 
b/net-wireless/crackle/crackle-0.1-r1.ebuild
similarity index 80%
rename from net-wireless/crackle/crackle-0.1.ebuild
rename to net-wireless/crackle/crackle-0.1-r1.ebuild
index c7a694212e4..9bcfc7aa069 100644
--- a/net-wireless/crackle/crackle-0.1.ebuild
+++ b/net-wireless/crackle/crackle-0.1-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=8
 
-inherit epatch
+inherit toolchain-funcs
 
 DESCRIPTION="Crackle cracks BLE Encryption (AKA Bluetooth Smart)"
 HOMEPAGE="http://lacklustre.net/projects/crackle/";
@@ -12,15 +12,18 @@ SRC_URI="http://lacklustre.net/projects/crackle/${P}.tgz";
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 DEPEND="net-libs/libpcap"
 RDEPEND="${DEPEND}"
 
 RESTRICT="test"
 
-src_prepare() {
-       epatch "${FILESDIR}"/flags.patch
+PATCHES=(
+       ${FILESDIR}"/flags.patch"
+)
+
+src_configure() {
+       tc-export CC
 }
 
 src_install() {

Reply via email to