diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-03-13 12:30:14 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-03-13 12:30:14 +0000 |
commit | d2356be7451ea533d7e5c288b74f5d55cc2b6f12 (patch) | |
tree | 43190d535b7b30a1572592c8c7e5c3e2c5c2ff52 /sys-process | |
parent | Add ~x86 keyword wrt bug #308893 (diff) | |
download | gentoo-2-d2356be7451ea533d7e5c288b74f5d55cc2b6f12.tar.gz gentoo-2-d2356be7451ea533d7e5c288b74f5d55cc2b6f12.tar.bz2 gentoo-2-d2356be7451ea533d7e5c288b74f5d55cc2b6f12.zip |
Import patches from FreeBSD ports to fix build on 8.0
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/fuser-bsd/ChangeLog | 8 | ||||
-rw-r--r-- | sys-process/fuser-bsd/fuser-bsd-1142334561.ebuild | 16 |
2 files changed, 19 insertions, 5 deletions
diff --git a/sys-process/fuser-bsd/ChangeLog b/sys-process/fuser-bsd/ChangeLog index 3e2f4f27458a..0b3c42fbc42f 100644 --- a/sys-process/fuser-bsd/ChangeLog +++ b/sys-process/fuser-bsd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-process/fuser-bsd -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/fuser-bsd/ChangeLog,v 1.5 2009/07/18 09:43:26 aballier Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/fuser-bsd/ChangeLog,v 1.6 2010/03/13 12:30:14 aballier Exp $ + + 13 Mar 2010; Alexis Ballier <aballier@gentoo.org> + fuser-bsd-1142334561.ebuild: + Import patches from FreeBSD ports to fix build on 8.0 18 Jul 2009; Alexis Ballier <aballier@gentoo.org> fuser-bsd-1142334561.ebuild: diff --git a/sys-process/fuser-bsd/fuser-bsd-1142334561.ebuild b/sys-process/fuser-bsd/fuser-bsd-1142334561.ebuild index a2feb1cfc6d3..9cfc1f161d54 100644 --- a/sys-process/fuser-bsd/fuser-bsd-1142334561.ebuild +++ b/sys-process/fuser-bsd/fuser-bsd-1142334561.ebuild @@ -1,14 +1,18 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/fuser-bsd/fuser-bsd-1142334561.ebuild,v 1.6 2009/07/18 09:43:26 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/fuser-bsd/fuser-bsd-1142334561.ebuild,v 1.7 2010/03/13 12:30:14 aballier Exp $ + +EAPI=2 inherit base bsdmk eutils MY_P="${PN/-bsd/}-${PV}" +PATCHLEVEL=1 DESCRIPTION="fuser(1) utility for *BSD" HOMEPAGE="http://mbsd.msk.ru/stas/fuser.html" -SRC_URI="http://mbsd.msk.ru/dist/${MY_P}.tar.bz2" +SRC_URI="http://mbsd.msk.ru/dist/${MY_P}.tar.bz2 + mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" LICENSE="BSD" SLOT="0" @@ -20,6 +24,12 @@ RDEPEND="!sys-process/psmisc" S="${WORKDIR}/${PN/-bsd/}" +src_prepare() { + if has_version '>=sys-freebsd/freebsd-lib-8' ; then # any better way to check it? + EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" + fi +} + src_install() { into / dosbin fuser |