1 |
xmw 14/07/29 20:36:46 |
2 |
|
3 |
Added: freecad-0.14.3702-install-paths.patch |
4 |
Log: |
5 |
Add live ebuild (bug 501138) and version bump (bug 517790) w/o keywords for testing reasons. |
6 |
|
7 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 62EEF090) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-gfx/freecad/files/freecad-0.14.3702-install-paths.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freecad/files/freecad-0.14.3702-install-paths.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freecad/files/freecad-0.14.3702-install-paths.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: freecad-0.14.3702-install-paths.patch |
16 |
=================================================================== |
17 |
--- freecad-0.14.3702/CMakeLists.txt |
18 |
+++ freecad-0.14.3702/CMakeLists.txt |
19 |
@@ -69,9 +69,15 @@ |
20 |
SET(CMAKE_INSTALL_PREFIX "/usr/lib${LIB_SUFFIX}/freecad" CACHE PATH "Installation root directory") |
21 |
endif(WIN32) |
22 |
|
23 |
-SET(CMAKE_INSTALL_DATADIR data CACHE PATH "Output directory for data and resource files") |
24 |
-SET(CMAKE_INSTALL_INCLUDEDIR include CACHE PATH "Output directory for header files") |
25 |
-SET(CMAKE_INSTALL_DOCDIR doc CACHE PATH "Output directory for documentation and license files") |
26 |
+if(NOT CMAKE_INSTALL_DATADIR) |
27 |
+ SET(CMAKE_INSTALL_DATADIR data CACHE PATH "Output directory for data and resource files") |
28 |
+endif(NOT CMAKE_INSTALL_DATADIR) |
29 |
+if(NOT CMAKE_INSTALL_INCLUDEDIR) |
30 |
+ SET(CMAKE_INSTALL_INCLUDEDIR include CACHE PATH "Output directory for header files") |
31 |
+endif(NOT CMAKE_INSTALL_INCLUDEDIR) |
32 |
+if(NOT CMAKE_INSTALL_DOCDIR) |
33 |
+ SET(CMAKE_INSTALL_DOCDIR doc CACHE PATH "Output directory for documentation and license files") |
34 |
+endif(NOT CMAKE_INSTALL_DOCDIR) |
35 |
# Don't set it without manual adaption of LibDir variable in src/App/FreeCADInit.py |
36 |
SET(CMAKE_INSTALL_LIBDIR lib CACHE PATH "Output directory for libraries") |