Line
Link Here
|
0 |
-- SConstruct |
0 |
++ SConstruct |
Lines 510-516
Link Here
|
510 |
|
510 |
|
511 |
config_h = open('config.h', 'w') |
511 |
config_h = open('config.h', 'w') |
512 |
config_h.write('#define VERSION "0.7.2"\n') |
512 |
config_h.write('#define VERSION "0.7.2"\n') |
513 |
config_h.write('#define ENABLE_BINRELOC 1\n') |
|
|
514 |
config_h.write('#define ICONV_CONST %s\n' % iconv_const) |
513 |
config_h.write('#define ICONV_CONST %s\n' % iconv_const) |
515 |
for (v,k) in config_h_defines: |
514 |
for (v,k) in config_h_defines: |
516 |
config_h.write('#define %s %s\n' % (v, k)) |
515 |
config_h.write('#define %s %s\n' % (v, k)) |
517 |
-- install.sh |
516 |
++ install.sh |
Lines 14-21
Link Here
|
14 |
exit 1 |
14 |
exit 1 |
15 |
fi |
15 |
fi |
16 |
|
16 |
|
17 |
BINDIR="$1/bin/" |
17 |
BINDIR="${1}GENTOO_BINDIR" |
18 |
DATADIR="$1/share/pingus/" |
18 |
DATADIR="${1}GENTOO_DATADIR" |
19 |
|
19 |
|
20 |
echo "Installing Pingus in: $1" |
20 |
echo "Installing Pingus in: $1" |
21 |
|
21 |
|
22 |
-- src/pingus_main.cpp |
22 |
++ src/pingus_main.cpp |
Lines 598-604
Link Here
|
598 |
path_manager.add_path("data"); // assume game is run from source dir, without any magic |
598 |
path_manager.add_path("data"); // assume game is run from source dir, without any magic |
599 |
free(exe_path); |
599 |
free(exe_path); |
600 |
#else |
600 |
#else |
601 |
path_manager.add_path("data"); // assume game is run from source dir |
601 |
path_manager.add_path("GENTOO_DATADIR/data"); // assume game is run from source dir |
602 |
#endif |
602 |
#endif |
603 |
|
603 |
|
604 |
if (!path_manager.find_path("data/core.res")) |
604 |
if (!path_manager.find_path("data/core.res")) |