Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 52452 Details for
Bug 83811
PATCHSET native build of x86 libraries contained in emul-linux-x86-baselibs for 2005.0 profile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for zlib-1.2.2
zlib-1.2.2-amd64.2005.0.patch (text/plain), 1.78 KB, created by
Dario Birtic
on 2005-03-02 06:39:07 UTC
(
hide
)
Description:
patch for zlib-1.2.2
Filename:
MIME Type:
Creator:
Dario Birtic
Created:
2005-03-02 06:39:07 UTC
Size:
1.78 KB
patch
obsolete
>--- /usr/portage/sys-libs/zlib/zlib-1.2.2.ebuild.orig 2005-03-02 14:07:15.581116282 +0100 >+++ /usr/portage/sys-libs/zlib/zlib-1.2.2.ebuild 2005-03-02 14:21:41.933598440 +0100 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.2.ebuild,v 1.11 2005/02/17 16:42:40 lu_zero Exp $ > >-inherit eutils flag-o-matic >+inherit eutils flag-o-matic multilib > > DESCRIPTION="Standard (de)compression library" > HOMEPAGE="http://www.gzip.org/zlib/" >@@ -16,6 +16,9 @@ > > RDEPEND="virtual/libc" > >+DEPEND="${RDEPEND} >+ !app-emulation/emul-linux-x86-baselibs" >+ > pkg_setup() { > tc-export CC RANLIB > export AR="$(tc-getAR) rc" >@@ -35,14 +38,56 @@ > epatch ${FILESDIR}/${PN}-1.2.1-configure.patch > # fix shared library test on -fPIC dependant archs > epatch ${FILESDIR}/${PN}-1.2.1-fPIC.patch >+ if use amd64 && has_multilib_profile; then >+ cp -ar ${S} ${S}-x86 >+ mv ${S} ${S}-amd64 >+ fi > } > > src_compile() { >+ if use amd64 && has_multilib_profile; then >+ local OABI=${ABI} >+ local OPWD=$PWD >+ ABI="x86" >+ cd ${S}-x86 >+ src_compile-multilib >+ ABI="amd64" >+ cd ${S}-amd64 >+ src_compile-multilib >+ cd ${OPWD} >+ ABI=${OABI} >+ unset OABI >+ unset OPWD >+ else >+ src_compile-multilib >+ fi >+} >+ >+src_compile-multilib() { > ./configure --shared --prefix=/usr --libdir=/$(get_libdir) || die > emake || die > } > > src_install() { >+ if use amd64 && has_multilib_profile; then >+ local OABI=${ABI} >+ local OPWD=$PWD >+ ABI="x86" >+ cd ${S}-x86 >+ src_install-multilib >+ ABI="amd64" >+ cd ${S}-amd64 >+ src_install-multilib >+ cd ${OPWD} >+ ABI=${OABI} >+ unset OABI >+ unset OPWD >+ else >+ src_install-multilib >+ fi >+} >+ >+src_install-multilib() { > einstall libdir=${D}/$(get_libdir) || die > rm "${D}"/$(get_libdir)/libz.a > insinto /usr/include
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 83811
:
52450
|
52451
| 52452 |
52453
|
52469
|
52470
|
52471
|
52474
|
52475
|
52496
|
52497
|
52498
|
52536
|
52541
|
52542
|
52549
|
52550
|
52551