[packages/slim] Fix library install path on 64-bit archs

jajcus jajcus at pld-linux.org
Thu Dec 12 14:26:30 CET 2013


commit 73ccc4a7dbc306183bcdf4b7878252ddf90303fe
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Thu Dec 12 14:25:56 2013 +0100

    Fix library install path on 64-bit archs

 cmake.patch | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/cmake.patch b/cmake.patch
index ded360a..4b23273 100644
--- a/cmake.patch
+++ b/cmake.patch
@@ -1,6 +1,6 @@
 diff -dur slim-1.3.6.orig/CMakeLists.txt slim-1.3.6/CMakeLists.txt
 --- slim-1.3.6.orig/CMakeLists.txt	2013-10-02 00:38:05.000000000 +0200
-+++ slim-1.3.6/CMakeLists.txt	2013-12-12 10:34:49.000000000 +0100
++++ slim-1.3.6/CMakeLists.txt	2013-12-12 14:14:26.438878042 +0100
 @@ -23,7 +23,7 @@
  
  set(CMAKE_INSTALL_PREFIX "/usr/local" CACHE PATH "Installation Directory")
@@ -10,3 +10,14 @@ diff -dur slim-1.3.6.orig/CMakeLists.txt slim-1.3.6/CMakeLists.txt
  set(LIBDIR "/lib")
  set(MANDIR "${CMAKE_INSTALL_PREFIX}/share/man")
  
+@@ -229,8 +229,8 @@
+ 		SOVERSION ${SLIM_VERSION})
+ 
+ 	install(TARGETS libslim
+-		LIBRARY DESTINATION lib
+-		ARCHIVE DESTINATION lib
++		LIBRARY DESTINATION ${LIB_INSTALL_DIR}
++		ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
+ 	)
+ endif (BUILD_SHARED_LIBS)
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/slim.git/commitdiff/73ccc4a7dbc306183bcdf4b7878252ddf90303fe



More information about the pld-cvs-commit mailing list