app-cdr/qlscribe: new upstream release

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1156 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2009-04-25 08:56:23 +00:00
parent 53f3991596
commit 4bdfe4ef0d
4 changed files with 61 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2009-04-16
Initial Package Version: 0.11
Origin: me
Upstream Status: unknown
Description: add an RPATH to the lscribe daemon so that it works around the LDPATH problem
yes it adds an unneeded overhead to the linker but it works
diff -Naur qlscribe-0.11.orig/lscribed/CMakeLists.txt qlscribe-0.11/lscribed/CMakeLists.txt
--- qlscribe-0.11.orig/lscribed/CMakeLists.txt 2009-04-04 03:43:35.000000000 +0000
+++ qlscribe-0.11/lscribed/CMakeLists.txt 2009-04-15 23:07:14.897023631 +0000
@@ -61,6 +63,12 @@
ADD_EXECUTABLE( lscribed ${LSCRIBED_SRCS} )
+IF (LSRPATH)
+ SET_TARGET_PROPERTIES( lscribed PROPERTIES INSTALL_NAME_DIR ${LSRPATH} )
+ SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
+ SET(CMAKE_INSTALL_RPATH "${LSRPATH}")
+ENDIF (LSRPATH)
+
TARGET_LINK_LIBRARIES( lscribed ${LSCRIBE_LIBRARIES} ${DBUS_LIBRARIES} pthread )
INSTALL( TARGETS lscribed DESTINATION sbin )