+++ /dev/null
-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
-
# 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"
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 /