diff options
Diffstat (limited to 'net-misc/netkit-bootpd')
-rw-r--r-- | net-misc/netkit-bootpd/metadata.xml | 8 | ||||
-rw-r--r-- | net-misc/netkit-bootpd/netkit-bootpd-2.4-r1.ebuild | 21 |
2 files changed, 16 insertions, 13 deletions
diff --git a/net-misc/netkit-bootpd/metadata.xml b/net-misc/netkit-bootpd/metadata.xml index a535b8852829..3c3d5ced6412 100644 --- a/net-misc/netkit-bootpd/metadata.xml +++ b/net-misc/netkit-bootpd/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="person"> -<email>xmw@gentoo.org</email> -<name>Michael Weber</name> -</maintainer> + <maintainer type="person"> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> + </maintainer> </pkgmetadata> diff --git a/net-misc/netkit-bootpd/netkit-bootpd-2.4-r1.ebuild b/net-misc/netkit-bootpd/netkit-bootpd-2.4-r1.ebuild index 7ae6c8941158..cb70f0e56efd 100644 --- a/net-misc/netkit-bootpd/netkit-bootpd-2.4-r1.ebuild +++ b/net-misc/netkit-bootpd/netkit-bootpd-2.4-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=3 -inherit eutils toolchain-funcs +EAPI=6 + +inherit toolchain-funcs MY_P=${P/netkit-} @@ -17,20 +18,22 @@ IUSE="" S=${WORKDIR}/${MY_P} -src_prepare() { - epatch "${FILESDIR}"/${P}.patch +PATCHES=( "${FILESDIR}"/${P}.patch ) + +src_configure() { + tc-export CC } src_compile() { - tc-export CC - emake linux || die + emake linux } src_install() { - dosbin bootp{d,ef,gw,test} || die + dosbin bootp{d,ef,gw,test} + local x for x in d ef gw test; do - dosym bootp${x} /usr/sbin/in.bootp${x} || die + dosym bootp${x} /usr/sbin/in.bootp${x} done doman *.5 *.8 |