Files
gentoo/sys-boot/dvhtool/dvhtool-1.0.1-r2.ebuild
Sam James f1b587244d sys-boot/dvhtool: drop bogus eapply_user
'default' is called already in src_prepare (which calls eapply_user).

This would apply user patches twice.

Signed-off-by: Sam James <sam@gentoo.org>
2025-02-24 04:54:06 +00:00

42 lines
854 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools toolchain-funcs
DESCRIPTION="Tool to copy kernel(s) into the volume header on SGI MIPS-based workstations"
HOMEPAGE="http://packages.debian.org/unstable/utils/dvhtool"
SRC_URI="mirror://debian/pool/main/d/dvhtool/dvhtool_${PV}.orig.tar.gz"
S="${S}.orig"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~mips ~x86"
PATCHES=(
"${FILESDIR}/${P}-debian.diff"
"${FILESDIR}/${P}-debian-warn_type_guess.diff"
"${FILESDIR}/${P}-debian-xopen_source.diff"
"${FILESDIR}/${P}-add-raid-lvm-parttypes.patch"
)
src_prepare() {
default
# Fix automake warning
mv configure.{in,ac} || die
eautoreconf
}
src_configure() {
CC="$(tc-getCC)" LD="$(tc-getLD)" \
econf
}
src_compile() {
CC="$(tc-getCC)" LD="$(tc-getLD)" \
emake
}