diff options
-rw-r--r-- | net-dns/odsclient/odsclient-1.03-r1.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net-dns/odsclient/odsclient-1.03-r1.ebuild b/net-dns/odsclient/odsclient-1.03-r1.ebuild index d679353f7246..bf24d233dae6 100644 --- a/net-dns/odsclient/odsclient-1.03-r1.ebuild +++ b/net-dns/odsclient/odsclient-1.03-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Client for the Open Domain Server's dynamic dns" HOMEPAGE="http://www.ods.org/" @@ -14,10 +14,11 @@ SLOT="0" KEYWORDS="~amd64 x86" IUSE="" +PATCHES=( "${FILESDIR}/${PV}-gentoo.patch" ) + src_prepare() { + default sed -i Makefile -e 's| -o | $(LDFLAGS)&|g' || die "sed failed" - - epatch "${FILESDIR}"/${PV}-gentoo.patch } src_compile() { @@ -30,5 +31,4 @@ src_compile() { src_install() { dosbin odsclient - dodoc README } |