mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sys-apps/usermode-utilities: cleanup old (EAPI 5)
Package-Manager: Portage-3.0.12.0.2-prefix, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Tools for use with Usermode Linux virtual machines"
|
||||
HOMEPAGE="http://user-mode-linux.sourceforge.net/"
|
||||
SRC_URI="http://user-mode-linux.sourceforge.net/uml_utilities_${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE="fuse"
|
||||
|
||||
RDEPEND="fuse? ( sys-fs/fuse:0 )
|
||||
sys-libs/readline:0="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"/tools-${PV}
|
||||
|
||||
src_prepare() {
|
||||
# Merge previous patches with fix for bug #331099
|
||||
epatch "${FILESDIR}"/${P}-rollup.patch
|
||||
# Fix owner of humfsify; bug #364531
|
||||
epatch "${FILESDIR}"/${P}-humfsify-owner.patch
|
||||
epatch "${FILESDIR}"/${P}-headers.patch #580816
|
||||
|
||||
sed -i -e 's:-o \$(BIN):$(LDFLAGS) -o $(BIN):' "${S}"/*/Makefile || die "LDFLAGS sed failed"
|
||||
sed -i -e 's:-o \$@:$(LDFLAGS) -o $@:' "${S}"/moo/Makefile || die "LDFLAGS sed (moo) failed"
|
||||
if ! use fuse; then
|
||||
einfo "Skipping build of umlmount to avoid sys-fs/fuse dependency."
|
||||
sed -i -e 's/\<umlfs\>//' Makefile || die "sed to remove sys-fs/fuse dependency failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC
|
||||
emake CFLAGS="${CFLAGS} ${CPPFLAGS} -DTUNTAP -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -Wall" all
|
||||
}
|
||||
Reference in New Issue
Block a user