net-misc/ipsvd: EAPI bump, bug 605728
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Mon, 1 Jan 2018 16:57:11 +0000 (17:57 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Mon, 1 Jan 2018 16:57:11 +0000 (17:57 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

net-misc/ipsvd/files/ipsvd-1.0.0-fix-parallel-make.diff
net-misc/ipsvd/ipsvd-1.0.0-r2.ebuild [moved from net-misc/ipsvd/ipsvd-1.0.0-r1.ebuild with 73% similarity]

index 0b29a8e8cbb1d20b425850da682678980c46436a..2f770e27061de209b7a119ffa5ae855f8f152103 100644 (file)
@@ -1,5 +1,5 @@
---- Makefile.orig      2011-01-21 00:43:02.000000000 +0100
-+++ Makefile   2011-01-21 00:47:27.000000000 +0100
+--- a/src/Makefile     2011-01-21 00:43:02.000000000 +0100
++++ b/src/Makefile     2011-01-21 00:47:27.000000000 +0100
 @@ -61,7 +61,7 @@
  check-ipsvd-cdb: load check-ipsvd-cdb.o uint32_unpack.o unix.a byte.a
        ./load check-ipsvd-cdb uint32_unpack.o unix.a byte.a
similarity index 73%
rename from net-misc/ipsvd/ipsvd-1.0.0-r1.ebuild
rename to net-misc/ipsvd/ipsvd-1.0.0-r2.ebuild
index 4540eca6c7df1097df2193408fd040a3c581a120..2b0e4522e88a46e83c41eba2062db5d5e59e5d10 100644 (file)
@@ -1,9 +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
+EAPI=6
 
-inherit toolchain-funcs flag-o-matic eutils
+inherit toolchain-funcs flag-o-matic
 
 DESCRIPTION="ipsvd is a set of internet protocol service daemons for Unix"
 HOMEPAGE="http://smarden.org/ipsvd/"
@@ -19,10 +19,9 @@ RDEPEND=""
 
 S="${WORKDIR}/net/${P}"
 
-src_prepare() {
-       cd "${S}"/src
-       epatch "${FILESDIR}"/${P}-fix-parallel-make.diff
-}
+PATCHES=(
+       "${FILESDIR}"/${P}-fix-parallel-make.diff
+)
 
 src_configure() {
        cd "${S}"/src
@@ -36,14 +35,16 @@ src_configure() {
 
 src_compile() {
        cd "${S}"/src
-       emake || die "make failed"
+       emake
 }
 
 src_install() {
-       dobin src/{tcpsvd,udpsvd,ipsvd-cdb} || die "dobin"
+       dobin src/{tcpsvd,udpsvd,ipsvd-cdb}
        dodoc package/{CHANGES,README}
 
-       dohtml doc/*.html
        doman man/ipsvd-instruct.5 man/ipsvd.7 man/udpsvd.8 \
                man/tcpsvd.8 man/ipsvd-cdb.8
+
+       insinto html
+       dohtml doc/*.html
 }