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

(-)mdadm-2.6.9.ebuild (-4 / +3 lines)
Lines 1-6 Link Here
1
## fixme, copied from 2.6.9
1
# Copyright 1999-2009 Gentoo Foundation
2
# Copyright 1999-2009 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-2.6.9.ebuild,v 1.1 2009/03/20 22:50:13 robbat2 Exp $
4
#### $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-3.0.0.ebuild,v 1.1 2009/03/20 22:50:13 robbat2 Exp $
4
5
5
inherit eutils flag-o-matic
6
inherit eutils flag-o-matic
6
7
Lines 16-24 Link Here
16
src_unpack() {
17
src_unpack() {
17
	unpack ${A}
18
	unpack ${A}
18
	cd "${S}"
19
	cd "${S}"
19
	epatch "${FILESDIR}"/${PN}-1.9.0-dont-make-man.patch
20
	epatch "${FILESDIR}"/${PN}-2.6-syslog-updates.patch
21
	epatch "${FILESDIR}"/${PN}-2.6.4-mdassemble.patch #211426
22
	use static && append-ldflags -static
20
	use static && append-ldflags -static
23
}
21
}
24
22
Lines 27-32 Link Here
27
		CROSS_COMPILE=${CHOST}- \
25
		CROSS_COMPILE=${CHOST}- \
28
		CWFLAGS="-Wall" \
26
		CWFLAGS="-Wall" \
29
		CXFLAGS="${CFLAGS}" \
27
		CXFLAGS="${CFLAGS}" \
28
		-j1 \
30
		all mdassemble \
29
		all mdassemble \
31
		|| die "emake failed"
30
		|| die "emake failed"
32
}
31
}

Return to bug 274444