net-misc/iputils: make 99999999 buildable
authorPavel Šimerda <pavlix@pavlix.net>
Sat, 10 Sep 2016 14:22:12 +0000 (16:22 +0200)
committerPavel Šimerda <pavlix@pavlix.net>
Sat, 10 Sep 2016 16:34:01 +0000 (18:34 +0200)
Apply necessary changes to `iputils-99999999.patch` that are not needed
in `iputils-20160308.ebuild` from which it was copied.

 * Don't use `S` variable when `PV=99999999`
 * Quote variables to make `repoman -d full` happy
 * Reflect the rename of `INSTALL` to `INSTALL.md`

net-misc/iputils/iputils-99999999.ebuild

index 65a21100ed29bb1cf4cec64e4af20ba025124247..e2da683f585ae2ac9764b3dc068dd6db518f7eac 100644 (file)
@@ -56,7 +56,7 @@ fi
 
 REQUIRED_USE="ipv6? ( ssl? ( ^^ ( gcrypt nettle openssl ) ) )"
 
-S=${WORKDIR}/${PN}-s${PV}
+[ "${PV}" = "99999999" ] || S="${WORKDIR}/${PN}-s${PV}"
 
 PATCHES=(
        "${FILESDIR}/021109-uclibc-no-ether_ntohost.patch"
@@ -153,7 +153,7 @@ src_install() {
                newconfd "${FILESDIR}"/rarpd.conf.d rarpd
        fi
 
-       dodoc INSTALL RELNOTES
+       dodoc INSTALL.md RELNOTES
 
        use doc && dohtml doc/*.html
 }