diff options
Diffstat (limited to 'dev-util/ltrace/ltrace-0.7.3_p4.ebuild')
-rw-r--r-- | dev-util/ltrace/ltrace-0.7.3_p4.ebuild | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild index abe4ea0c259e..2f15597a0646 100644 --- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild +++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit autotools eutils +EAPI=7 +inherit autotools LTRACE_V=${PV/_p*/} DB_V=${PV/*_p/} @@ -26,15 +26,23 @@ 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() { - epatch "${WORKDIR}"/debian/patches/[0-9]* - epatch "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649 - epatch "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch - epatch "${FILESDIR}"/${PN}-0.7.3-ia64.patch - epatch "${FILESDIR}"/${PN}-0.7.3-print-test-pie.patch - epatch "${FILESDIR}"/${PN}-0.7.3-ia64-pid_t.patch + eapply "${WORKDIR}"/debian/patches/[0-9]* + + default + sed -i '/^dist_doc_DATA/d' Makefile.am || die eautoreconf } |