diff options
Diffstat (limited to 'net-misc/openr2/openr2-1.3.0.ebuild')
-rw-r--r-- | net-misc/openr2/openr2-1.3.0.ebuild | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/net-misc/openr2/openr2-1.3.0.ebuild b/net-misc/openr2/openr2-1.3.0.ebuild index d00d14389463..3e45c4921241 100644 --- a/net-misc/openr2/openr2-1.3.0.ebuild +++ b/net-misc/openr2/openr2-1.3.0.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=3 -inherit autotools base +EAPI=6 + +inherit autotools DESCRIPTION="An open implementation of the MFC/R2 telephony signaling protocol" HOMEPAGE="http://libopenr2.org/" @@ -14,13 +15,21 @@ KEYWORDS="~amd64" IUSE="" RDEPEND="net-misc/dahdi" -PATCHES=( "${FILESDIR}/${PV}-respect-user-cflags.patch" ) +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch ) src_prepare() { - base_src_prepare + default + mv configure.{in,ac} || die eautoreconf } +src_configure() { + econf --disable-static +} + src_install() { - emake DESTDIR="${D}" install || die + default + find "${D}" -name '*.la' -delete || die } |