summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuta Satoh <nigoro.dev@gmail.com>2016-10-02 18:18:48 +0900
committerAlexis Ballier <aballier@gentoo.org>2016-10-10 13:06:26 +0200
commit76ffe60f3bf3d859e2d498df435b4758e44846b1 (patch)
tree28c30f5d8c9b607e9ce36f82b9ce527c9ff37f03 /sys-process/pidof-bsd/pidof-bsd-20050501-r4.ebuild
parentdev-python/pid: bump to 2.1.1 (diff)
downloadgentoo-76ffe60f3bf3d859e2d498df435b4758e44846b1.tar.gz
gentoo-76ffe60f3bf3d859e2d498df435b4758e44846b1.tar.bz2
gentoo-76ffe60f3bf3d859e2d498df435b4758e44846b1.zip
sys-process/pidof-bsd: Fix build failure on FreeBSD 11.0.
Diffstat (limited to 'sys-process/pidof-bsd/pidof-bsd-20050501-r4.ebuild')
-rw-r--r--sys-process/pidof-bsd/pidof-bsd-20050501-r4.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-process/pidof-bsd/pidof-bsd-20050501-r4.ebuild b/sys-process/pidof-bsd/pidof-bsd-20050501-r4.ebuild
index 65fd527c014e..3f3d74cd3f2b 100644
--- a/sys-process/pidof-bsd/pidof-bsd-20050501-r4.ebuild
+++ b/sys-process/pidof-bsd/pidof-bsd-20050501-r4.ebuild
@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-inherit base bsdmk
+EAPI=5
+inherit bsdmk
DESCRIPTION="pidof(1) utility for *BSD"
HOMEPAGE="http://people.freebsd.org/~novel/pidof.html"
@@ -21,7 +22,11 @@ S="${WORKDIR}/pidof"
PATCHES=( "${FILESDIR}/${P}-gfbsd.patch"
"${FILESDIR}/${P}-firstarg.patch"
"${FILESDIR}/${P}-pname.patch"
- "${FILESDIR}/${P}-fbsd10.patch" )
+ "${FILESDIR}/${P}-fbsd11.patch" )
+
+src_prepare() {
+ epatch "${PATCHES[@]}"
+}
src_install() {
into /