diff options
author | Sam James <sam@gentoo.org> | 2020-09-19 18:02:41 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-09-19 18:10:38 +0000 |
commit | 33e0ab8b38afd3d91de960a390153282ed3dc75f (patch) | |
tree | 7d305f3209f6ab4b5c91c4564d8e128b16bd4dd7 /app-emulation/hercules | |
parent | sys-firmware/nvidia-firmware: Remove old (diff) | |
download | gentoo-33e0ab8b38afd3d91de960a390153282ed3dc75f.tar.gz gentoo-33e0ab8b38afd3d91de960a390153282ed3dc75f.tar.bz2 gentoo-33e0ab8b38afd3d91de960a390153282ed3dc75f.zip |
app-emulation/hercules: port to EAPI 7
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation/hercules')
-rw-r--r-- | app-emulation/hercules/hercules-3.10.ebuild | 17 | ||||
-rw-r--r-- | app-emulation/hercules/hercules-3.12.ebuild | 17 |
2 files changed, 22 insertions, 12 deletions
diff --git a/app-emulation/hercules/hercules-3.10.ebuild b/app-emulation/hercules/hercules-3.10.ebuild index c28944bdf921..d165c020c390 100644 --- a/app-emulation/hercules/hercules-3.10.ebuild +++ b/app-emulation/hercules/hercules-3.10.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="4" +EAPI=7 -inherit flag-o-matic eutils +inherit flag-o-matic DESCRIPTION="Hercules System/370, ESA/390 and zArchitecture Mainframe Emulator" HOMEPAGE="http://www.hercules-390.eu/" @@ -15,17 +15,21 @@ KEYWORDS="~alpha amd64 ppc sparc x86 ~x64-macos ~x86-macos" IUSE="bzip2 custom-cflags +suid" RDEPEND="bzip2? ( app-arch/bzip2 ) - net-libs/libnsl:0 + net-libs/libnsl:0= sys-libs/zlib" DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${PN}-3.09-aliasing.patch +) + src_prepare() { - epatch "${FILESDIR}"/${PN}-3.09-aliasing.patch + default # The local modules need local libs, so when doing a parallel install # of the modules and libs breaks during relinking. Force the libs to # install first, and then the modules that use those libs. #488126 - echo "install-modexecLTLIBRARIES: install-libLTLIBRARIES" >> Makefile.in + echo "install-modexecLTLIBRARIES: install-libLTLIBRARIES" >> Makefile.in || die } src_configure() { @@ -44,5 +48,6 @@ src_install() { insinto /usr/share/hercules doins hercules.cnf dodoc README.* RELEASE.NOTES - dohtml -r html + docinto html + dodoc -r html } diff --git a/app-emulation/hercules/hercules-3.12.ebuild b/app-emulation/hercules/hercules-3.12.ebuild index b9b49d82dbf8..d121c6a69fa7 100644 --- a/app-emulation/hercules/hercules-3.12.ebuild +++ b/app-emulation/hercules/hercules-3.12.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=7 -inherit flag-o-matic eutils +inherit flag-o-matic DESCRIPTION="Hercules System/370, ESA/390 and zArchitecture Mainframe Emulator" HOMEPAGE="http://www.hercules-390.eu/" @@ -19,13 +19,17 @@ RDEPEND="bzip2? ( app-arch/bzip2 ) sys-libs/zlib" DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${PN}-3.09-aliasing.patch +) + src_prepare() { - epatch "${FILESDIR}"/${PN}-3.09-aliasing.patch + default # The local modules need local libs, so when doing a parallel install # of the modules and libs breaks during relinking. Force the libs to # install first, and then the modules that use those libs. #488126 - echo "install-modexecLTLIBRARIES: install-libLTLIBRARIES" >> Makefile.in + echo "install-modexecLTLIBRARIES: install-libLTLIBRARIES" >> Makefile.in || die } src_configure() { @@ -44,5 +48,6 @@ src_install() { insinto /usr/share/hercules doins hercules.cnf dodoc README.* RELEASE.NOTES - dohtml -r html + docinto html + dodoc -r html } |