diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-08-01 17:00:49 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-08-01 17:00:49 +0000 |
commit | 0fee2a70662b7cb271be8e1a801a92bedfd956d6 (patch) | |
tree | 654d150f63ce5f2b80200a51c29da060bbe7cc5f /games-simulation/openttd/files | |
parent | Marked ~hppa (bug #277805). (diff) | |
download | gentoo-2-0fee2a70662b7cb271be8e1a801a92bedfd956d6.tar.gz gentoo-2-0fee2a70662b7cb271be8e1a801a92bedfd956d6.tar.bz2 gentoo-2-0fee2a70662b7cb271be8e1a801a92bedfd956d6.zip |
version bump; clean old
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-simulation/openttd/files')
-rw-r--r-- | games-simulation/openttd/files/openttd-0.7.0-build.patch | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/games-simulation/openttd/files/openttd-0.7.0-build.patch b/games-simulation/openttd/files/openttd-0.7.0-build.patch deleted file mode 100644 index 6d50c07a5366..000000000000 --- a/games-simulation/openttd/files/openttd-0.7.0-build.patch +++ /dev/null @@ -1,75 +0,0 @@ ---- config.lib 2009-04-01 16:36:05.000000000 +0200 -+++ config.lib.new 2009-04-02 13:08:50.000000000 +0200 -@@ -1389,7 +1389,8 @@ - CFLAGS="$CFLAGS -DWITH_SHARED_DIR -DSHARED_DIR=\\\\\"$shared_dir\\\\\"" - fi - -- CFLAGS="$CFLAGS -DGLOBAL_DATA_DIR=\\\\\"$prefix_dir/$data_dir\\\\\"" -+ [[ $data_dir = "/"* ]] || data_dir="$prefix_dir/$data_dir" -+ CFLAGS="$CFLAGS -DGLOBAL_DATA_DIR=\\\\\"$data_dir\\\\\"" - - log 1 "using CFLAGS... $CFLAGS $CC_CFLAGS" - log 1 "using LDFLAGS... $LIBS $LDFLAGS" -@@ -2532,6 +2533,16 @@ - - SRC_OBJS_DIR="$BASE_SRC_OBJS_DIR/$OBJS_SUBDIR" - -+ # we have to replace all prefix/x_dir with x_dir -+ # and append prefix only when needed -+ [[ $data_dir = "/"* ]] || data_dir="$prefix_dir/$data_dir" -+ [[ $binary_dir = "/"* ]] || binary_dir="$prefix_dir/$binary_dir" -+ [[ $doc_dir = "/"* ]] || doc_dir="$prefix_dir/$doc_dir" -+ [[ $man_dir = "/"* ]] || man_dir="$prefix_dir/$man_dir" -+ [[ $icon_dir = "/"* ]] || icon_dir="$prefix_dir/$icon_dir" -+ [[ $icon_theme_dir = "/"* ]] || icon_theme_dir="$prefix_dir/$icon_theme_dir" -+ [[ $menu_dir = "/"* ]] || menu_dir="$prefix_dir/$menu_dir" -+ - # All the data needed to compile a single target - # Make sure if you compile multiple targets to - # use multiple OBJS_DIR, because all in-between -@@ -2561,12 +2572,12 @@ - s~!!OSXAPP!!~$OSXAPP~g; - s~!!LANG_DIR!!~$LANG_DIR~g; - s~!!TTD!!~$TTD~g; -- s~!!BINARY_DIR!!~$prefix_dir/$binary_dir~g; -- s~!!DATA_DIR!!~$prefix_dir/$data_dir~g; -- s~!!DOC_DIR!!~$prefix_dir/$doc_dir~g; -- s~!!MAN_DIR!!~$prefix_dir/$man_dir~g; -- s~!!ICON_DIR!!~$prefix_dir/$icon_dir~g; -- s~!!ICON_THEME_DIR!!~$prefix_dir/$icon_theme_dir~g; -+ s~!!BINARY_DIR!!~$binary_dir~g; -+ s~!!DATA_DIR!!~$data_dir~g; -+ s~!!DOC_DIR!!~$doc_dir~g; -+ s~!!MAN_DIR!!~$man_dir~g; -+ s~!!ICON_DIR!!~$icon_dir~g; -+ s~!!ICON_THEME_DIR!!~$icon_theme_dir~g; - s~!!PERSONAL_DIR!!~$personal_dir~g; - s~!!SHARED_DIR!!~$shared_dir~g; - s~!!INSTALL_DIR!!~$install_dir~g; -@@ -2601,7 +2612,7 @@ - - if [ "$icon_theme_dir" != "" ]; then - SRC_REPLACE="$SRC_REPLACE -- s#!!ICON_THEME_DIR!!#$prefix_dir/$icon_theme_dir#g; -+ s#!!ICON_THEME_DIR!!#$icon_theme_dir#g; - " - else - SRC_REPLACE="$SRC_REPLACE -@@ -2611,7 +2622,7 @@ - - if [ "$man_dir" != "" ]; then - SRC_REPLACE="$SRC_REPLACE -- s#!!MAN_DIR!!#$prefix_dir/$man_dir#g; -+ s#!!MAN_DIR!!#$man_dir#g; - " - else - SRC_REPLACE="$SRC_REPLACE -@@ -2621,7 +2632,7 @@ - - if [ "$menu_dir" != "" ]; then - SRC_REPLACE="$SRC_REPLACE -- s#!!MENU_DIR!!#$prefix_dir/$menu_dir#g; -+ s#!!MENU_DIR!!#$menu_dir#g; - " - else - SRC_REPLACE="$SRC_REPLACE
\ No newline at end of file |