Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 216951 Details for
Bug 301578
sys-apps/file-5.03 fails to crosscompile with USE=python
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cross-compile patch
file_xcompile.ebuild.patch (text/plain), 921 bytes, created by
Martin Gysel (bearsh)
on 2010-01-19 22:09:25 UTC
(
hide
)
Description:
cross-compile patch
Filename:
MIME Type:
Creator:
Martin Gysel (bearsh)
Created:
2010-01-19 22:09:25 UTC
Size:
921 bytes
patch
obsolete
>--- /usr/portage/sys-apps/file/file-5.03.ebuild 2009-10-05 20:36:47.000000000 +0200 >+++ /mnt/work/neuvoo/overlay/sys-apps/file/file-5.03.ebuild 2010-01-02 16:21:46.000000000 +0100 >@@ -4,7 +4,7 @@ > > DISTUTILS_DISABLE_PYTHON_DEPENDENCY="1" > >-inherit eutils distutils libtool flag-o-matic >+inherit eutils distutils libtool flag-o-matic toolchain-funcs > > DESCRIPTION="identify a file's format by scanning binary data for patterns" > HOMEPAGE="ftp://ftp.astron.com/pub/file/" >@@ -19,6 +19,7 @@ > DEPEND="python? ( virtual/python )" > RDEPEND="${DEPEND}" > >+ > src_unpack() { > unpack ${P}.tar.gz > cd "${S}" >@@ -44,7 +45,11 @@ > econf || die > emake || die > >- use python && cd python && distutils_src_compile >+ if tc-is-cross-compiler ; then >+ use python && cd python && CC=$(tc-getCC) LDSHARED="$(tc-getCC) -shared" distutils_src_compile >+ else >+ use python && cd python && distutils_src_compile >+ fi > } > > src_install() {
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 301578
:
216950
| 216951 |
217028