summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-16 23:38:47 +0000
committerMike Frysinger <vapier@gentoo.org>2009-02-16 23:38:47 +0000
commit20c7205e38c2965d80cdcf8635c2b59d05aa33be (patch)
treec01c0ac7aee94d646b88f8f1d98dbff353fc2a43 /sys-libs
parentVersion bumps wrt security bug #255962. (diff)
downloadgentoo-2-20c7205e38c2965d80cdcf8635c2b59d05aa33be.tar.gz
gentoo-2-20c7205e38c2965d80cdcf8635c2b59d05aa33be.tar.bz2
gentoo-2-20c7205e38c2965d80cdcf8635c2b59d05aa33be.zip
Restore out-of-tree building #259192 by Martin von Gagern.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libstdc++-v3/ChangeLog5
-rw-r--r--sys-libs/libstdc++-v3/libstdc++-v3-3.3.6.ebuild10
2 files changed, 12 insertions, 3 deletions
diff --git a/sys-libs/libstdc++-v3/ChangeLog b/sys-libs/libstdc++-v3/ChangeLog
index 664c5282398b..2bf5a4dcae95 100644
--- a/sys-libs/libstdc++-v3/ChangeLog
+++ b/sys-libs/libstdc++-v3/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/libstdc++-v3
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/ChangeLog,v 1.58 2009/02/16 00:29:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/ChangeLog,v 1.59 2009/02/16 23:38:47 vapier Exp $
+
+ 16 Feb 2009; Mike Frysinger <vapier@gentoo.org> libstdc++-v3-3.3.6.ebuild:
+ Restore out-of-tree building #259192 by Martin von Gagern.
16 Feb 2009; Mike Frysinger <vapier@gentoo.org> libstdc++-v3-3.3.6.ebuild:
Simplify ebuild greatly by removing all the extraneous gcc cruft.
diff --git a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6.ebuild b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6.ebuild
index db6e94da2b3b..a1c8de807cbe 100644
--- a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6.ebuild
+++ b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6.ebuild
@@ -1,6 +1,6 @@
# 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-3.3.6.ebuild,v 1.22 2009/02/16 00:29:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/libstdc++-v3-3.3.6.ebuild,v 1.23 2009/02/16 23:38:47 vapier Exp $
inherit eutils flag-o-matic libtool multilib
@@ -120,10 +120,13 @@ src_unpack() {
EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
elibtoolize --portage --shallow
./contrib/gcc_update --touch
+ mkdir -p "${WORKDIR}"/build
}
src_compile() {
+ cd "${WORKDIR}"/build
do_filter_flags
+ ECONF_SOURCE=${S}
econf \
--enable-shared \
--with-system-zlib \
@@ -144,7 +147,10 @@ src_compile() {
}
src_install() {
- emake -j1 DESTDIR="${D}" install-target-libstdc++-v3 || die
+ emake -j1 \
+ -C "${WORKDIR}"/build \
+ DESTDIR="${D}" \
+ install-target-libstdc++-v3 || die
# scrub everything but the library we care about
pushd "${D}" >/dev/null