summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-11-09 14:28:19 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-11-09 14:28:19 +0000
commit759d8afdc2419d42274ee18657bfa50028f828c4 (patch)
tree188e46a380732aa5a5c55d7c7a546fa7098d3813
parentapp-misc/mc: drop old (diff)
downloadgentoo-759d8afdc2419d42274ee18657bfa50028f828c4.tar.gz
gentoo-759d8afdc2419d42274ee18657bfa50028f828c4.tar.bz2
gentoo-759d8afdc2419d42274ee18657bfa50028f828c4.zip
dev-lang/jwasm: add BDEPEND="app-arch/unzip"
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--dev-lang/jwasm/jwasm-2.11a-r1.ebuild (renamed from dev-lang/jwasm/jwasm-2.11a.ebuild)14
1 files changed, 9 insertions, 5 deletions
diff --git a/dev-lang/jwasm/jwasm-2.11a.ebuild b/dev-lang/jwasm/jwasm-2.11a-r1.ebuild
index 0eab110f0fb..2de5e5e9d2b 100644
--- a/dev-lang/jwasm/jwasm-2.11a.ebuild
+++ b/dev-lang/jwasm/jwasm-2.11a-r1.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils toolchain-funcs versionator
+inherit toolchain-funcs
# 2.10 -> 210s
MY_PN=JWasm
-MY_PV="$(delete_version_separator 1)s"
+MY_PV="$(ver_rs 1 '')s"
MY_P="${MY_PN}${MY_PV}"
DESCRIPTION="MASM-compatible TASM-similar assembler (fork of Wasm)"
@@ -20,11 +20,15 @@ KEYWORDS="~amd64 ~x86"
RDEPEND=""
DEPEND=""
+BDEPEND="app-arch/unzip"
S="${WORKDIR}"
+PATCHES=("${FILESDIR}"/${PN}-2.11-types-test.patch)
+
src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.11-types-test.patch
+ default
+
# don't strip binary
sed -i GccUnix.mak -e 's/ -s / /g' || die
}