summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-sports/speed-dreams/speed-dreams-1.4.0.ebuild')
-rw-r--r--games-sports/speed-dreams/speed-dreams-1.4.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild b/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild
index 835908ebe8a0..cee94c8cce33 100644
--- a/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild
+++ b/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild
@@ -45,7 +45,8 @@ src_prepare() {
epatch \
"${FILESDIR}"/${P}-asneeded.patch \
"${FILESDIR}"/${P}-automake.patch \
- "${FILESDIR}"/${P}-libpng15.patch
+ "${FILESDIR}"/${P}-libpng15.patch \
+ "${FILESDIR}"/${P}-math-hack.patch
sed -i \
-e '/ADDCFLAGS/s: -O2::' \
@@ -54,6 +55,7 @@ src_prepare() {
-e '/COPYING/s:=.*:= \\:' \
Makefile || die
sed -i \
+ -e '/LDFLAGS/s:-L/usr/lib::' \
-e "/^datadir/s:=.*:= ${GAMES_DATADIR}/${PN}:" \
Make-config.in || die