summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kapusta <ayoy@gentoo.org>2009-12-12 09:58:58 +0000
committerDominik Kapusta <ayoy@gentoo.org>2009-12-12 09:58:58 +0000
commit2ef97d16436f882a71578108d2255d40b031fc5d (patch)
tree7014d868274c056125300166f56740e2da00d59d /dev-embedded/scratchbox2/scratchbox2-2.0-r1.ebuild
parentUse in-system lua instead of bundled one (bug #296552). (diff)
downloadhistorical-2ef97d16436f882a71578108d2255d40b031fc5d.tar.gz
historical-2ef97d16436f882a71578108d2255d40b031fc5d.tar.bz2
historical-2ef97d16436f882a71578108d2255d40b031fc5d.zip
Fix compilation with --as-needed
Diffstat (limited to 'dev-embedded/scratchbox2/scratchbox2-2.0-r1.ebuild')
-rw-r--r--dev-embedded/scratchbox2/scratchbox2-2.0-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-embedded/scratchbox2/scratchbox2-2.0-r1.ebuild b/dev-embedded/scratchbox2/scratchbox2-2.0-r1.ebuild
index 0003182f49a8..f52f733bdf9e 100644
--- a/dev-embedded/scratchbox2/scratchbox2-2.0-r1.ebuild
+++ b/dev-embedded/scratchbox2/scratchbox2-2.0-r1.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/dev-embedded/scratchbox2/scratchbox2-2.0-r1.ebuild,v 1.1 2009/12/12 09:36:19 ayoy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox2/scratchbox2-2.0-r1.ebuild,v 1.2 2009/12/12 09:58:58 ayoy Exp $
EAPI="2"
@@ -28,6 +28,8 @@ src_prepare() {
epatch "${FILESDIR}/${P}-gentoo.patch"
# bug 296552
epatch "${FILESDIR}/${P}-use-system-lua.patch"
+ # bug 296550
+ epatch "${FILESDIR}/${P}-as-needed.patch"
sed -e "s/^\(CC = \).*/\1$(tc-getCC)/" \
-e "s/^\(CXX = \).*/\1$(tc-getCXX)/" \