diff options
| author | Chris Reffett <geekboy72@gmail.com> | 2012-04-22 11:02:04 -0400 |
|---|---|---|
| committer | Chris Reffett <geekboy72@gmail.com> | 2012-04-22 11:02:04 -0400 |
| commit | 59cfdb5e8acff3f4d0e45a3db9736c7751358159 (patch) | |
| tree | bcb0d39f91ea32a6d56ab97333da0dd6399e963a /dev-util | |
| parent | e12461b061fbfa6e480ae3fa9a19fb0745190f38 (diff) | |
| download | kde-59cfdb5e8acff3f4d0e45a3db9736c7751358159.tar.gz kde-59cfdb5e8acff3f4d0e45a3db9736c7751358159.tar.bz2 kde-59cfdb5e8acff3f4d0e45a3db9736c7751358159.zip | |
[dev-util/cmake] Update more-no_host_paths.patch to be compatible with cmake 2.8.8, add patch line to ebuild
(Portage version: 2.2.0_alpha100/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-util')
| -rw-r--r-- | dev-util/cmake/cmake-2.8.8.ebuild | 1 | ||||
| -rw-r--r-- | dev-util/cmake/files/cmake-2.8.8-more-no_host_paths.patch (renamed from dev-util/cmake/files/cmake-2.8.3-more-no_host_paths.patch) | 23 |
2 files changed, 13 insertions, 11 deletions
diff --git a/dev-util/cmake/cmake-2.8.8.ebuild b/dev-util/cmake/cmake-2.8.8.ebuild index 169a9bcab4a..f3f6ff7293f 100644 --- a/dev-util/cmake/cmake-2.8.8.ebuild +++ b/dev-util/cmake/cmake-2.8.8.ebuild @@ -57,6 +57,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2.8.7-FindBoost-python.patch "${FILESDIR}"/${PN}-2.8.7-FindBLAS.patch "${FILESDIR}"/${PN}-2.8.7-FindLAPACK.patch + "${FILESDIR}"/${PN}-2.8.8-more-no_host_paths.patch ) cmake_src_bootstrap() { # Cleanup args to extract only JOBS. diff --git a/dev-util/cmake/files/cmake-2.8.3-more-no_host_paths.patch b/dev-util/cmake/files/cmake-2.8.8-more-no_host_paths.patch index 38bad925c37..ca768351727 100644 --- a/dev-util/cmake/files/cmake-2.8.3-more-no_host_paths.patch +++ b/dev-util/cmake/files/cmake-2.8.8-more-no_host_paths.patch @@ -1,13 +1,13 @@ Set some proper paths to make cmake find our tools. -Original patch by Heiko Przybyl +Original patch by Heiko Przybyl, updated for cmake-2.8.8 by Chris Reffett The ebuild now adds an extra / at the end of $EPREFIX so that it is never the empty string (so that CMAKE_SYSTEM_PREFIX_PATH remains correct) ---- cmake-2.8.3/Modules/Platform/Darwin.cmake -+++ cmake-2.8.3/Modules/Platform/Darwin.cmake -@@ -217,19 +217,23 @@ +--- cmake-2.8.8/Modules/Platform/Darwin.cmake ++++ cmake-2.8.8/Modules/Platform/Darwin.cmake +@@ -229,20 +229,24 @@ @@ -29,15 +29,16 @@ correct) +# default to searching for application bundles last +SET(CMAKE_FIND_APPBUNDLE LAST) # set up the default search directories for application bundles - SET(CMAKE_SYSTEM_APPBUNDLE_PATH + SET(_apps_paths) + FOREACH(_path + @GENTOO_PORTAGE_EPREFIX@Applications + @GENTOO_PORTAGE_EPREFIX@usr/bin - ~/Applications - /Applications - /Developer/Applications) -diff -ruN cmake-2.8.3.orig/Modules/Platform/UnixPaths.cmake cmake-2.8.3/Modules/Platform/UnixPaths.cmake ---- cmake-2.8.3/Modules/Platform/UnixPaths.cmake -+++ cmake-2.8.3/Modules/Platform/UnixPaths.cmake + "~/Applications" + "/Applications" + "${OSX_DEVELOPER_ROOT}/../Applications" # Xcode 4.3+ +diff -ruN cmake-2.8.8.orig/Modules/Platform/UnixPaths.cmake cmake-2.8.8/Modules/Platform/UnixPaths.cmake +--- cmake-2.8.8/Modules/Platform/UnixPaths.cmake ++++ cmake-2.8.8/Modules/Platform/UnixPaths.cmake @@ -33,6 +33,7 @@ # search types. LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH |
