Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 443860 | Differences between
and this patch

Collapse All | Expand All

(-)/var/portage/tree/app-arch/cpio/cpio-2.11.ebuild (-8 / +8 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-arch/cpio/cpio-2.11.ebuild,v 1.10 2012/07/06 04:17:46 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-arch/cpio/cpio-2.11.ebuild,v 1.10 2012/07/06 04:17:46 vapier Exp $
4
4
5
EAPI="2"
5
EAPI="4"
6
6
7
inherit eutils
7
inherit eutils
8
8
Lines 12-35 SRC_URI="mirror://gnu/cpio/${P}.tar.bz2" Link Here
12
12
13
LICENSE="GPL-3"
13
LICENSE="GPL-3"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
15
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
16
IUSE="nls"
16
IUSE="nls"
17
17
18
src_prepare() {
18
src_prepare() {
19
	epatch "${FILESDIR}"/${P}-stat.patch #328531
19
	epatch "${FILESDIR}"/${P}-stat.patch #328531
20
	epatch "${FILESDIR}"/${P}-no-gets.patch #424974
20
	epatch "${FILESDIR}"/${P}-no-gets.patch #424974
21
	epatch "${FILESDIR}"/${PN}-2.10-irix.patch
21
}
22
}
22
23
23
src_configure() {
24
src_configure() {
24
	econf \
25
	econf \
25
		$(use_enable nls) \
26
		$(use_enable nls) \
26
		--bindir=/bin \
27
		--bindir="${EPREFIX}"/bin \
27
		--with-rmt=/usr/sbin/rmt
28
		--with-rmt="${EPREFIX}"/usr/sbin/rmt
28
}
29
}
29
30
30
src_install() {
31
src_install() {
31
	emake install DESTDIR="${D}" || die
32
	default
32
	dodoc ChangeLog NEWS README
33
	rm "${ED}"/usr/share/man/man1/mt.1 || die
33
	rm "${D}"/usr/share/man/man1/mt.1 || die
34
	rmdir "${ED}"/usr/libexec || die
34
	rmdir "${D}"/usr/libexec || die
35
}
35
}

Return to bug 443860