1 |
pylon 07/10/01 23:56:44 |
2 |
|
3 |
Modified: openttd-0.5.3.ebuild |
4 |
Log: |
5 |
Fixed quoting issues and changed configure-call. |
6 |
(Portage version: 2.1.3.11) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 games-simulation/openttd/openttd-0.5.3.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/openttd/openttd-0.5.3.ebuild?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/openttd/openttd-0.5.3.ebuild?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/openttd/openttd-0.5.3.ebuild?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: openttd-0.5.3.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/games-simulation/openttd/openttd-0.5.3.ebuild,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- openttd-0.5.3.ebuild 1 Oct 2007 12:11:46 -0000 1.1 |
22 |
+++ openttd-0.5.3.ebuild 1 Oct 2007 23:56:44 -0000 1.2 |
23 |
@@ -1,6 +1,6 @@ |
24 |
# Copyright 1999-2007 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/openttd/openttd-0.5.3.ebuild,v 1.1 2007/10/01 12:11:46 pylon Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/openttd/openttd-0.5.3.ebuild,v 1.2 2007/10/01 23:56:44 pylon Exp $ |
28 |
|
29 |
inherit eutils games |
30 |
|
31 |
@@ -45,11 +45,11 @@ |
32 |
src_unpack() { |
33 |
unpack ${MY_P}-source.tar.bz2 |
34 |
if use scenarios ; then |
35 |
- cd ${S}/scenario/ |
36 |
+ cd "${S}"/scenario/ |
37 |
unpack ${SCENARIOS_048} |
38 |
unpack ${SCENARIOS_050} |
39 |
fi |
40 |
- cd ${S} |
41 |
+ cd "${S}" |
42 |
# Don't pre-strip binaries (bug #137822) |
43 |
sed -i -e '/+= -s$/s/-s//' Makefile || die "sed failed" |
44 |
# Don't install into prefixed DATA_DIR |
45 |
@@ -61,11 +61,7 @@ |
46 |
src_compile() { |
47 |
local myopts="" |
48 |
use debug && myopts="${myopts} --debug" |
49 |
- use static && myopts="${myopts} --with-static" |
50 |
use dedicated && myopts="${myopts} --dedicated --without-sdl" |
51 |
- use iconv && myopts="${myopts} --with-iconv" |
52 |
- use png && myopts="${myopts} --with-png" |
53 |
- use zlib && myopts="${myopts} --with-zlib" |
54 |
if ! use dedicated; then |
55 |
myopts="${myopts} --with-sdl --with-freetype --with-fontconfig" |
56 |
if ! use timidity; then |
57 |
@@ -76,6 +72,10 @@ |
58 |
# configure is a hand-written sh-script, so econf will not work |
59 |
./configure --os=UNIX \ |
60 |
--with-network \ |
61 |
+ $(use_with static) \ |
62 |
+ $(use_with iconv) \ |
63 |
+ $(use_with png) \ |
64 |
+ $(use_with zlib) \ |
65 |
${myopts} \ |
66 |
|| die "configure failed" |
67 |
|
68 |
@@ -83,11 +83,11 @@ |
69 |
MANUAL_CONFIG=1 \ |
70 |
INSTALL=1 \ |
71 |
USE_HOMEDIR=1 \ |
72 |
- DEST_DIR=${D} \ |
73 |
+ DEST_DIR="${D}" \ |
74 |
PERSONAL_DIR=.openttd \ |
75 |
- PREFIX=${GAMES_PREFIX} \ |
76 |
- DATA_DIR=${GAMES_DATADIR}/${PN} \ |
77 |
- CUSTOM_LANG_DIR=${GAMES_DATADIR}/${PN}/lang \ |
78 |
+ PREFIX="${GAMES_PREFIX}" \ |
79 |
+ DATA_DIR="${GAMES_DATADIR}"/${PN} \ |
80 |
+ CUSTOM_LANG_DIR="${GAMES_DATADIR}"/${PN}/lang \ |
81 |
|| die "emake failed" |
82 |
} |
83 |
|
84 |
|
85 |
|
86 |
|
87 |
-- |
88 |
gentoo-commits@g.o mailing list |