Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 240033 Details for
Bug 329729
dev-libs/icu needs to be compiled twice if cross compiled
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
working ebuild
icu-4.4.1.ebuild (text/plain), 2.40 KB, created by
Johannes Krude
on 2010-07-24 18:56:08 UTC
(
hide
)
Description:
working ebuild
Filename:
MIME Type:
Creator:
Johannes Krude
Created:
2010-07-24 18:56:08 UTC
Size:
2.40 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-4.4.1.ebuild,v 1.8 2010/07/02 22:45:03 arfrever Exp $ > >EAPI="3" > >inherit eutils flag-o-matic versionator > >MAJOR_MINOR_VERSION="$(get_version_component_range 1-2)" >MICRO_VERSION="$(get_version_component_range 3)" > >DESCRIPTION="International Components for Unicode" >HOMEPAGE="http://www.icu-project.org/" > >BASE_URI="http://download.icu-project.org/files/icu4c/${PV}" >DOCS_BASE_URI="http://download.icu-project.org/files/icu4c/${MAJOR_MINOR_VERSION}" >SRC_ARCHIVE="icu4c-${PV//./_}-src.tgz" >DOCS_ARCHIVE="icu4c-${MAJOR_MINOR_VERSION//./_}-docs.zip" > >SRC_URI="${BASE_URI}/${SRC_ARCHIVE} > doc? ( ${DOCS_BASE_URI}/${DOCS_ARCHIVE} )" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd" >IUSE="debug doc examples static-libs" > >DEPEND="doc? ( app-arch/unzip )" >RDEPEND="" > >S="${WORKDIR}/${PN}/source" > >QA_DT_NEEDED="/usr/lib.*/libicudata.so.${MAJOR_MINOR_VERSION/./}.${MICRO_VERSION:-0}" > >src_unpack() { > unpack "${SRC_ARCHIVE}" > if use doc; then > mkdir docs > pushd docs > /dev/null > unpack "${DOCS_ARCHIVE}" > popd > /dev/null > fi >} > >src_prepare() { > # Do not hardcode used CFLAGS, LDFLAGS etc. into icu-config > # Bug 202059 > # https://bugs.icu-project.org/trac/ticket/6102 > for x in ARFLAGS CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do > sed -i -e "/^${x} =.*/s:@${x}@::" "config/Makefile.inc.in" || die "sed failed" > done > > epatch "${FILESDIR}/${P}-pkgdata.patch" > epatch "${FILESDIR}/${P}-et_EE.patch" > > if [[ "$CBUILD" != "$CHOST" ]]; then > cd $S/.. > cp -r source source.native > cd source.native > cflags_= $CFLAGS > CFLAGS="" > cxxflags_= $CXXFLAGS > CXXFLAGS="" > ./configure --build=$CBUILD --host=$CBUILD --disable-debug --disable-samples --disable-static > make > CFLAGS=$cflags_ > CXXFLAGS=$cxxflags_ > cd $S > crossbuilddir=" --with-cross-build=${S}.native" > fi >} > >src_configure() { > append-flags -fno-strict-aliasing > > econf \ > $(use_enable debug) \ > $(use_enable examples samples) \ > $(use_enable static-libs static) \ > ${crossbuilddir} >} > >src_test() { > emake -j1 check || die "emake check failed" >} > >src_install() { > emake -j1 DESTDIR="${D}" install || die "emake install failed" > > dohtml ../readme.html > dodoc ../unicode-license.txt > if use doc; then > insinto /usr/share/doc/${PF}/html/api > doins -r "${WORKDIR}/docs/"* > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 329729
:
240029
|
240031
|
240033
|
240123