mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
'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>
42 lines
854 B
Bash
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
|
|
}
|