commit:     b62bd3d9900cc6d364bebeff3fcd7b745dfc43f8
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Fri Apr  1 15:36:27 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Apr  2 09:05:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b62bd3d9

games-engines/xzip: EAPI8 bump, fix HOMEPAGE, fix calling cc directly

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/24851
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-engines/xzip/xzip-1.8.2-r3.ebuild | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/games-engines/xzip/xzip-1.8.2-r3.ebuild 
b/games-engines/xzip/xzip-1.8.2-r3.ebuild
index b961ce3ca312..c6cb0d735cdb 100644
--- a/games-engines/xzip/xzip-1.8.2-r3.ebuild
+++ b/games-engines/xzip/xzip-1.8.2-r3.ebuild
@@ -1,16 +1,17 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
+
+inherit toolchain-funcs
 
 DESCRIPTION="X interface to Z-code based text games"
-HOMEPAGE="http://www.eblong.com/zarf/xzip.html";
-SRC_URI="http://www.eblong.com/zarf/ftp/xzip182.tar.Z";
+HOMEPAGE="https://www.eblong.com/zarf/xzip.html";
+SRC_URI="https://www.eblong.com/zarf/ftp/xzip182.tar.Z";
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 RESTRICT="test"
 
 DEPEND="x11-libs/libX11"
@@ -19,6 +20,7 @@ RDEPEND=${DEPEND}
 S="${WORKDIR}/xzip"
 
 src_compile() {
+       tc-export CC
        emake \
                CFLAGS="${CFLAGS} -DAUTO_END_MODE" \
                LDFLAGS="${LDFLAGS}"

Reply via email to