Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 205958 Details for
Bug 231870
new virtual/libstdc++ is necessary
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
need testing.
libstdc++-v3-4.4.1.ebuild (text/plain), 2.03 KB, created by
Magnus Granberg
on 2009-10-03 19:41:39 UTC
(
hide
)
Description:
need testing.
Filename:
MIME Type:
Creator:
Magnus Granberg
Created:
2009-10-03 19:41:39 UTC
Size:
2.03 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/libstdc++-v3-4.1.1.ebuild,v 1.25 2009/10/03 21.50.00 zorry Exp $ > >inherit eutils flag-o-matic libtool multilib > >do_filter_flags() { > declare setting > > # In general gcc does not like optimization, and add -O2 where > replace-flags -O? -O2 > > strip-unsupported-flags > > strip-flags > >} > >PATCH_VER="1.0" > >DESCRIPTION="Compatibility package for running binaries linked against a pre gcc 3.4 libstdc++" >HOMEPAGE="http://gcc.gnu.org/libstdc++/" >SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-${PV}.tar.bz2 > mirror://gentoo/gcc-${PV}-patches-${PATCH_VER}.tar.bz2" > >LICENSE="GPL-2 LGPL-2.1" >SLOT="5" >KEYWORDS="amd64 hppa ~mips ppc -ppc64 sparc x86 ~x86-fbsd" >IUSE="multilib nls" > >S=${WORKDIR}/gcc-${PV} > >src_unpack() { > unpack ${A} > cd "${S}" > EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch > elibtoolize --portage --shallow > ./contrib/gcc_update --touch > mkdir -p "${WORKDIR}"/build > > if use multilib ; then > # ugh, this shit has to match the way we've hacked gcc else > # the build falls apart #259215 > sed -i \ > -e 's:\(MULTILIB_OSDIRNAMES = \).*:\1../lib64 ../lib32:' \ > "${S}"/gcc/config/i386/t-linux64 \ > || die "sed failed!" > fi >} > >src_compile() { > cd "${WORKDIR}"/build > do_filter_flags > ECONF_SOURCE=${S} > econf \ > --enable-shared \ > --with-system-zlib \ > --enable-languages=c++ \ > --enable-stage1-languages=all \ > --enable-threads=posix \ > --enable-long-long \ > --disable-checking \ > --enable-cstdio=stdio \ > --enable-__cxa_atexit \ > $(use_enable multilib) \ > $(use_enable nls) \ > $(use_with !nls included-gettext) \ > || die > > touch "${S}"/gcc/c-gperf.h > > emake all-target-libstdc++-v3 || die >} > >src_install() { > emake -j1 \ > -C "${WORKDIR}"/build \ > DESTDIR="${D}" \ > install-target-libstdc++-v3 || die > > # scrub everything but the library we care about > pushd "${D}" >/dev/null > mv usr/lib* . || die > rm -rf usr > rm -f lib*/*.{a,la,so} || die > dodir /usr > mv lib* usr/ || die >}
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 231870
:
201971
| 205958 |
207467
|
207469