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
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')
-rw-r--r--sys-process/pidof-bsd/files/pidof-bsd-20050501-fbsd10.patch18
-rw-r--r--sys-process/pidof-bsd/files/pidof-bsd-20050501-fbsd11.patch14
-rw-r--r--sys-process/pidof-bsd/pidof-bsd-20050501-r4.ebuild9
3 files changed, 21 insertions, 20 deletions
diff --git a/sys-process/pidof-bsd/files/pidof-bsd-20050501-fbsd10.patch b/sys-process/pidof-bsd/files/pidof-bsd-20050501-fbsd10.patch
deleted file mode 100644
index 5c7382e1344f..000000000000
--- a/sys-process/pidof-bsd/files/pidof-bsd-20050501-fbsd10.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-share/mk/bsd.compat.mk has been removed from FreeBSD 10.0.
-An old style NOMAN is not supported anymore.
-
-https://bugs.gentoo.org/show_bug.cgi?id=483044
-
-diff --git a/Makefile b/Makefile
-index d2d760b..446bd6f 100644
---- a/Makefile
-+++ b/Makefile
-@@ -2,7 +2,7 @@
-
- PROG= pidof
- SRCS= pidof.c
--NOMAN= yes
-+NO_MAN= yes
- LDADD= -lkvm
- LINKS= ${BINDIR}/pidof
-
diff --git a/sys-process/pidof-bsd/files/pidof-bsd-20050501-fbsd11.patch b/sys-process/pidof-bsd/files/pidof-bsd-20050501-fbsd11.patch
new file mode 100644
index 000000000000..4a1b16285205
--- /dev/null
+++ b/sys-process/pidof-bsd/files/pidof-bsd-20050501-fbsd11.patch
@@ -0,0 +1,14 @@
+diff --git a/pidof/Makefile b/pidof/Makefile
+index d2d760b..67d2725 100644
+--- a/pidof/Makefile
++++ b/pidof/Makefile
+@@ -2,8 +2,7 @@
+
+ PROG= pidof
+ SRCS= pidof.c
+-NOMAN= yes
++NO_MAN= yes
+ LDADD= -lkvm
+-LINKS= ${BINDIR}/pidof
+
+ .include <bsd.prog.mk>
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 /