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

(-)/usr/portage/dev-libs/icu/icu-4.4.1.ebuild (-1 / +18 lines)
Lines 52-57 Link Here
52
52
53
	epatch "${FILESDIR}/${P}-pkgdata.patch"
53
	epatch "${FILESDIR}/${P}-pkgdata.patch"
54
	epatch "${FILESDIR}/${P}-et_EE.patch"
54
	epatch "${FILESDIR}/${P}-et_EE.patch"
55
56
	if [[ "$CBUILD" != "$CHOST" ]]; then
57
		cd $S/..
58
		cp -r source source.native
59
		cd source.native
60
		cflags_= $CFLAGS
61
		CFLAGS=""
62
		cxxflags_= $CXXFLAGS
63
		CXXFLAGS=""
64
		./configure --build=$CBUILD --host=$CBUILD --disable-debug --disable-samples --disable-static
65
		make
66
		CFLAGS=$cflags_
67
		CXXFLAGS=$cxxflags_
68
		cd $S
69
		crossbuilddir=" --with-cross-build=${S}.native"
70
	fi
55
}
71
}
56
72
57
src_configure() {
73
src_configure() {
Lines 60-66 Link Here
60
	econf \
76
	econf \
61
		$(use_enable debug) \
77
		$(use_enable debug) \
62
		$(use_enable examples samples) \
78
		$(use_enable examples samples) \
63
		$(use_enable static-libs static)
79
		$(use_enable static-libs static) \
80
		${crossbuilddir}
64
}
81
}
65
82
66
src_test() {
83
src_test() {

Return to bug 329729