mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-util/ltrace: drop old
Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit autotools
|
||||
|
||||
LTRACE_V=${PV/_p*/}
|
||||
DB_V=${PV/*_p/}
|
||||
|
||||
DESCRIPTION="trace library calls made at runtime"
|
||||
HOMEPAGE="https://gitlab.com/cespedes/ltrace"
|
||||
SRC_URI="
|
||||
mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}.orig.tar.bz2
|
||||
mirror://debian/pool/main/l/${PN}/${PN}_${LTRACE_V}-${DB_V}.debian.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 ~sparc x86"
|
||||
IUSE="debug selinux test unwind"
|
||||
|
||||
RDEPEND="dev-libs/elfutils
|
||||
selinux? ( sys-libs/libselinux )
|
||||
unwind? ( sys-libs/libunwind )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/binutils-libs
|
||||
test? ( dev-util/dejagnu )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
S=${WORKDIR}/${PN}-${LTRACE_V}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649
|
||||
"${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch
|
||||
"${FILESDIR}"/${PN}-0.7.3-ia64.patch
|
||||
"${FILESDIR}"/${PN}-0.7.3-print-test-pie.patch
|
||||
"${FILESDIR}"/${PN}-0.7.3-ia64-pid_t.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
eapply "${WORKDIR}"/debian/patches/[0-9]*
|
||||
|
||||
default
|
||||
|
||||
sed -i '/^dist_doc_DATA/d' Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ac_cv_header_selinux_selinux_h=$(usex selinux) \
|
||||
ac_cv_lib_selinux_security_get_boolean_active=$(usex selinux) \
|
||||
econf \
|
||||
--disable-werror \
|
||||
$(use_enable debug) \
|
||||
$(use_with unwind libunwind)
|
||||
}
|
||||
Reference in New Issue
Block a user