summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-30 05:18:34 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-30 05:18:34 +0000
commit3720fdd0a2e5ac318f367f41a7d4f370a320a0a1 (patch)
tree7064f9466f5f0da53ca02d28ee59a9f33b40360a /media-libs
parentkeep smpeg-config output clean (diff)
downloadgentoo-2-3720fdd0a2e5ac318f367f41a7d4f370a320a0a1.tar.gz
gentoo-2-3720fdd0a2e5ac318f367f41a7d4f370a320a0a1.tar.bz2
gentoo-2-3720fdd0a2e5ac318f367f41a7d4f370a320a0a1.zip
libsupc++ isnt good enough ... use libstdc++
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/smpeg/smpeg-0.4.4-r5.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/media-libs/smpeg/smpeg-0.4.4-r5.ebuild b/media-libs/smpeg/smpeg-0.4.4-r5.ebuild
index de85a162ac28..a85ff0d713a4 100644
--- a/media-libs/smpeg/smpeg-0.4.4-r5.ebuild
+++ b/media-libs/smpeg/smpeg-0.4.4-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r5.ebuild,v 1.4 2005/07/30 05:09:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r5.ebuild,v 1.5 2005/07/30 05:18:34 vapier Exp $
inherit eutils toolchain-funcs
@@ -29,10 +29,11 @@ src_unpack() {
-e 's:-march=486::' \
-e 's:-march=pentium -mcpu=pentiumpro::' \
configure || die "sed configure failed"
- # GCC 3.1 fix from bug #5558 (cardoe 08/03/02)
+ # Bundled libtool doesnt properly add C++ libs even
+ # though the shared library includes C++ objects
sed -i \
- -e '/^libsmpeg_la_LIBADD =/s:$: -lsupc++:' Makefile.in \
- || die "sed Makefile.in failed"
+ -e '/^libsmpeg_la_LIBADD =/s:$: -lstdc++:' \
+ Makefile.in || die "sed Makefile.in failed"
}
src_compile() {