summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emulation/hercules/hercules-3.10.ebuild17
-rw-r--r--app-emulation/hercules/hercules-3.12.ebuild17
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
}