diff options
Diffstat (limited to 'games-strategy/freeorion/files/unbundle_gigi.patch')
-rw-r--r-- | games-strategy/freeorion/files/unbundle_gigi.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/games-strategy/freeorion/files/unbundle_gigi.patch b/games-strategy/freeorion/files/unbundle_gigi.patch new file mode 100644 index 0000000..57ecf95 --- /dev/null +++ b/games-strategy/freeorion/files/unbundle_gigi.patch @@ -0,0 +1,47 @@ +--- CMakeLists.txt~ 2012-11-14 09:51:00.000000000 +0100 ++++ CMakeLists.txt 2012-11-14 09:53:20.662111051 +0100 +@@ -11,7 +11,7 @@ + set(FREEORION_VERSION 0.4.1) + set(FREEORION_RELEASE false) + +-list(APPEND CMAKE_MODULE_PATH ${CMAKE_HOME_DIRECTORY}/cmake ${CMAKE_HOME_DIRECTORY}/GG/cmake) ++list(APPEND CMAKE_MODULE_PATH ${CMAKE_HOME_DIRECTORY}/cmake) + include(Config) + include(Util) + +@@ -474,13 +474,6 @@ + + install( + FILES +- ../build/GG/CMakeCache.txt +- DESTINATION build/GG +- COMPONENT COMPONENT_FREEORION_BUILD_FILES_GIGI +- ) +- +- install( +- FILES + ../build/CMakeCache.txt + DESTINATION build + COMPONENT COMPONENT_FREEORION_BUILD_FILES_FREEORION +@@ -590,21 +583,6 @@ + StrCpy $7 $INSTDIR + \\\${WordReplace} $7 \\\"\\\\\\\" \\\"/\\\" \\\"+\\\" $8 + +- Rename $INSTDIR\\\\build\\\\GG\\\\CMakeCache.txt $INSTDIR\\\\build\\\\GG\\\\CMakeCache.txt.in +- FileOpen $0 $INSTDIR\\\\build\\\\GG\\\\CMakeCache.txt.in r +- FileOpen $5 $INSTDIR\\\\build\\\\GG\\\\CMakeCache.txt w +- ClearErrors +- loop1: +- FileRead $0 $1 +- IfErrors done1 +- \\\${WordReplace} $1 \\\"${sdk_root}\\\" $8 \\\"+\\\" $2 +- FileWrite $5 $2 +- Goto loop1 +- done1: +- FileClose $0 +- FileClose $5 +- Delete $INSTDIR\\\\build\\\\GG\\\\CMakeCache.txt.in +- + Rename $INSTDIR\\\\build\\\\CMakeCache.txt $INSTDIR\\\\build\\\\CMakeCache.txt.in + FileOpen $0 $INSTDIR\\\\build\\\\CMakeCache.txt.in r + FileOpen $5 $INSTDIR\\\\build\\\\CMakeCache.txt w |