Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 104513
Collapse All | Expand All

(-)cpio-2.6-r4.ebuild.org (-1 / +9 lines)
Lines 25-30 Link Here
25
	epatch "${FILESDIR}"/${P}-chmodRaceC.patch #90619
25
	epatch "${FILESDIR}"/${P}-chmodRaceC.patch #90619
26
	epatch "${FILESDIR}"/${P}-gcc4-tests.patch #89123
26
	epatch "${FILESDIR}"/${P}-gcc4-tests.patch #89123
27
	epatch "${FILESDIR}"/${P}-dirTraversal.patch #90619
27
	epatch "${FILESDIR}"/${P}-dirTraversal.patch #90619
28
	epatch "${FILESDIR}"/${P}-mt-argmatch.patch #<bug-number-here>
28
}
29
}
29
30
30
src_compile() {
31
src_compile() {
Lines 38-48 Link Here
38
		--with-rmt=/usr/sbin/rmt \
39
		--with-rmt=/usr/sbin/rmt \
39
		|| die
40
		|| die
40
	emake || die
41
	emake || die
42
43
	## build "mt" for managing tape-drives:
44
	cd src
45
	emake mt || die "compiling mt failed"
41
}
46
}
42
47
43
src_install() {
48
src_install() {
44
	make install DESTDIR="${D}" || die
49
	make install DESTDIR="${D}" || die
45
	dodoc ChangeLog NEWS README INSTALL
50
	dodoc ChangeLog NEWS README INSTALL
46
	rm -f "${D}"/usr/share/man/man1/mt.1
51
	#rm -f "${D}"/usr/share/man/man1/mt.1
47
	rmdir "${D}"/usr/libexec
52
	rmdir "${D}"/usr/libexec
53
54
	## install "mt":
55
	dosbin src/mt
48
}
56
}

Return to bug 104513