diff options
author | Sam James <sam@gentoo.org> | 2022-07-15 06:50:33 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-15 07:32:43 +0100 |
commit | 98ef629ba44e42abf5dd75e2e2c44994d85bc409 (patch) | |
tree | 646545f9f1a3a29f7f7ec7bf1d57ac3ecd3ae72e /dev-util/bsdiff | |
parent | www-servers/nginx: Stabilize 1.21.6-r3 arm64, #858083 (diff) | |
download | gentoo-98ef629ba44e42abf5dd75e2e2c44994d85bc409.tar.gz gentoo-98ef629ba44e42abf5dd75e2e2c44994d85bc409.tar.bz2 gentoo-98ef629ba44e42abf5dd75e2e2c44994d85bc409.zip |
dev-util/bsdiff: use edo
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/bsdiff')
-rw-r--r-- | dev-util/bsdiff/bsdiff-4.3-r4.ebuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/dev-util/bsdiff/bsdiff-4.3-r4.ebuild b/dev-util/bsdiff/bsdiff-4.3-r4.ebuild index 08e45256bd2b..6083dac804a6 100644 --- a/dev-util/bsdiff/bsdiff-4.3-r4.ebuild +++ b/dev-util/bsdiff/bsdiff-4.3-r4.ebuild @@ -1,32 +1,30 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit flag-o-matic toolchain-funcs +inherit edo flag-o-matic toolchain-funcs DESCRIPTION="bsdiff: Binary Differencer using a suffix alg" HOMEPAGE="https://www.daemonology.net/bsdiff/" SRC_URI="https://www.daemonology.net/bsdiff/${P}.tar.gz" -SLOT="0" LICENSE="BSD-2" +SLOT="0" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" RDEPEND="app-arch/bzip2" +DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}/${P}-CVE-2014-9862.patch" ) src_compile() { - doecho() { - echo "$@" - "$@" - } append-lfs-flags - doecho $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o bsdiff bsdiff.c -lbz2 || die "failed compiling bsdiff" - doecho $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o bspatch bspatch.c -lbz2 || die "failed compiling bspatch" + + edo $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o bsdiff bsdiff.c -lbz2 + edo $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o bspatch bspatch.c -lbz2 } src_install() { |