commit:     03ed085e92f2e8af8dfc3dc83f6da1c3470a7e16
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Wed Nov 23 14:32:24 2016 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Wed Nov 23 14:32:24 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=03ed085e

media-libs/glbinding: Update CMakeLists patch

Package-Manager: portage-2.3.0

 .../glbinding/files/glbinding-2.1.1-CMakeLists.patch     | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/media-libs/glbinding/files/glbinding-2.1.1-CMakeLists.patch 
b/media-libs/glbinding/files/glbinding-2.1.1-CMakeLists.patch
index 080cb7f..8c4b505 100644
--- a/media-libs/glbinding/files/glbinding-2.1.1-CMakeLists.patch
+++ b/media-libs/glbinding/files/glbinding-2.1.1-CMakeLists.patch
@@ -1,14 +1,5 @@
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -103,7 +103,7 @@ endif()
- if(UNIX AND SYSTEM_DIR_INSTALL)
-     # Install into the system (/usr/bin or /usr/local/bin)
-     set(INSTALL_ROOT      "share/${project}")       # 
/usr/[local]/share/<project>
--    set(INSTALL_CMAKE     "share/${project}/cmake") # 
/usr/[local]/share/<project>/cmake
-+    set(INSTALL_CMAKE     "lib/cmake")              # /usr/[local]/lib/cmake
-     set(INSTALL_EXAMPLES  "share/${project}")       # 
/usr/[local]/share/<project>
-     set(INSTALL_DATA      "share/${project}")       # 
/usr/[local]/share/<project>
-     set(INSTALL_BIN       "bin")                    # /usr/[local]/bin
 @@ -159,16 +159,8 @@ add_subdirectory(deploy)
  # Deployment (global project files)
  # 
@@ -17,13 +8,12 @@
 -install(FILES "${PROJECT_BINARY_DIR}/VERSION" DESTINATION ${INSTALL_ROOT} 
COMPONENT runtime)
 -
  # Install cmake find script for the project
--install(FILES ${META_PROJECT_NAME}-config.cmake DESTINATION ${INSTALL_ROOT} 
COMPONENT dev)
--
+ install(FILES ${META_PROJECT_NAME}-config.cmake DESTINATION ${INSTALL_ROOT} 
COMPONENT dev)
+ 
 -# Install the project meta files
 -install(FILES AUTHORS   DESTINATION ${INSTALL_ROOT} COMPONENT runtime)
 -install(FILES LICENSE   DESTINATION ${INSTALL_ROOT} COMPONENT runtime)
 -install(FILES README.md DESTINATION ${INSTALL_ROOT} COMPONENT runtime)
-+install(FILES ${META_PROJECT_NAME}-config.cmake DESTINATION 
${INSTALL_LIB}/cmake/${project} COMPONENT dev)
- 
+-
  # Install runtime data
  install(DIRECTORY ${PROJECT_SOURCE_DIR}/data DESTINATION ${INSTALL_DATA} 
COMPONENT examples_data)

Reply via email to