dev-util/unifdef: port to EAPI 7
authorAaron Bauman <bman@gentoo.org>
Tue, 10 Dec 2019 03:34:57 +0000 (22:34 -0500)
committerAaron Bauman <bman@gentoo.org>
Tue, 10 Dec 2019 03:35:52 +0000 (22:35 -0500)
Signed-off-by: Aaron Bauman <bman@gentoo.org>
dev-util/unifdef/unifdef-2.10.ebuild
dev-util/unifdef/unifdef-2.11.ebuild

index 038a1285cef08b5b262fb81667769ce3f568f19b..7cafc8e46a09e40bef7c89ecb116a35a395c04eb 100644 (file)
@@ -1,12 +1,13 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
+
 inherit toolchain-funcs
 
-DESCRIPTION="remove #ifdef'ed lines from a file while otherwise leaving the file alone"
-HOMEPAGE="http://dotat.at/prog/unifdef/"
-SRC_URI="http://dotat.at/prog/unifdef/${P}.tar.gz"
+DESCRIPTION="Remove #ifdef'ed lines from a file while otherwise leaving the file alone"
+HOMEPAGE="https://dotat.at/prog/unifdef/"
+SRC_URI="https://dotat.at/prog/unifdef/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
@@ -17,4 +18,5 @@ DOCS=( README )
 src_prepare() {
        sed -i '/^prefix/s:=.*:=/usr:' Makefile || die
        tc-export CC
+       default
 }
index cb5bb65837221e83251f51ee8a5cee380e465e95..848ad49bbe5901d334c73ed17eb36a18b6517a11 100644 (file)
@@ -1,12 +1,13 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
+
 inherit toolchain-funcs
 
 DESCRIPTION="remove #ifdef'ed lines from a file while otherwise leaving the file alone"
-HOMEPAGE="http://dotat.at/prog/unifdef/"
-SRC_URI="http://dotat.at/prog/unifdef/${P}.tar.gz"
+HOMEPAGE="https://dotat.at/prog/unifdef/"
+SRC_URI="https://dotat.at/prog/unifdef/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
@@ -17,4 +18,5 @@ DOCS=( README )
 src_prepare() {
        sed -i "/^prefix/s:=.*:=${EPREFIX}/usr:" Makefile || die
        tc-export CC
+       default
 }