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

(-)aufs3-3_p20121015.ebuild.orig (-6 / +4 lines)
Lines 4-10 Link Here
4
4
5
EAPI=4
5
EAPI=4
6
6
7
inherit linux-mod multilib toolchain-funcs eutils
7
inherit linux-mod multilib toolchain-funcs flag-o-matic eutils
8
8
9
AUFS_VERSION="${PV%%_p*}"
9
AUFS_VERSION="${PV%%_p*}"
10
# highest branch version
10
# highest branch version
Lines 124-135 Link Here
124
}
124
}
125
125
126
src_compile() {
126
src_compile() {
127
	local ARCH=x86
127
	emake CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" ARCH="$(tc-arch-kernel)" CONFIG_AUFS_FS=m KDIR="${KV_OUT_DIR}"
128
129
	emake CC=$(tc-getCC) ARCH=$(tc-arch-kernel) CONFIG_AUFS_FS=m KDIR=${KV_DIR}
130
128
131
	cd "${WORKDIR}"/${PN/3}-util
129
	cd "${WORKDIR}"/${PN/3}-util
132
	emake CC=$(tc-getCC) AR=$(tc-getAR) KDIR=${KV_DIR} C_INCLUDE_PATH="${S}"/include
130
	emake CC="$(tc-getCC)" AR="$(tc-getAR)" KDIR="${KV_OUT_DIR}" C_INCLUDE_PATH="${S}"/include
133
}
131
}
134
132
135
src_install() {
133
src_install() {
Lines 142-148 Link Here
142
	dodoc Documentation/filesystems/aufs/README
140
	dodoc Documentation/filesystems/aufs/README
143
141
144
	cd "${WORKDIR}"/${PN/3}-util
142
	cd "${WORKDIR}"/${PN/3}-util
145
	emake DESTDIR="${D}" KDIR=${KV_DIR} install
143
	emake DESTDIR="${D}" install
146
144
147
	newdoc README README-utils
145
	newdoc README README-utils
148
}
146
}

Return to bug 438734