diff options
author | Ctibor <ctibor.brancik@seznam.cz> | 2015-02-18 21:53:22 +0100 |
---|---|---|
committer | Ctibor <ctibor.brancik@seznam.cz> | 2015-02-18 21:53:22 +0100 |
commit | 8d9af0cd81ce4f2fb092cad310c034e001872066 (patch) | |
tree | d8aa31fec7207ba48ba1c14390dc67cefaa1361c | |
parent | 382fd6db893acc2edc8ceae103ad94c612845bb2 (diff) | |
download | brancik-overlay-8d9af0cd81ce4f2fb092cad310c034e001872066.tar.gz brancik-overlay-8d9af0cd81ce4f2fb092cad310c034e001872066.tar.bz2 |
Patch for sci-libs/sbig is not working. Maybe this time?
-rw-r--r-- | sci-libs/sbig/files/sbig-1.0.0_fix_cmake_symlinks.patch | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sci-libs/sbig/files/sbig-1.0.0_fix_cmake_symlinks.patch b/sci-libs/sbig/files/sbig-1.0.0_fix_cmake_symlinks.patch index 859073e..f14e58a 100644 --- a/sci-libs/sbig/files/sbig-1.0.0_fix_cmake_symlinks.patch +++ b/sci-libs/sbig/files/sbig-1.0.0_fix_cmake_symlinks.patch @@ -1,6 +1,6 @@ ---- libindi_3rdparty/sbig/CMakeLists.txt 2015-02-15 09:56:33.000000000 +0100
-+++ libindi_3rdparty.new/sbig/CMakeLists.txt 2015-02-18 21:46:56.043183288 +0100
-@@ -22,13 +22,9 @@
+--- libindi_3rdparty/sbig/CMakeLists.txt 2015-02-15 09:56:33.000000000 +0100 ++++ libindi_3rdparty.new/sbig/CMakeLists.txt 2015-02-18 21:52:44.118868395 +0100 +@@ -22,13 +22,10 @@ ENDIF (CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "armv6l")
ENDIF(UNIX AND NOT WIN32 AND NOT APPLE)
@@ -14,6 +14,7 @@ install( FILES sbigucam.hex sbiglcam.hex sbigfcam.hex sbigpcam.hex stfga.bin DESTINATION ${FIRMWARE_INSTALL_DIR})
install( FILES 51-sbig-debian.rules DESTINATION ${UDEVRULES_INSTALL_DIR})
-install( SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/make_sbig_symlink.cmake)
++
+# Make sure symbolic links are installed
+install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${LIB_INSTALL_DIR}${LIB_POSTFIX}/libsbigudrv.so.${SBIG_VERSION}\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${LIB_INSTALL_DIR}${LIB_POSTFIX}/libsbigudrv.so.${SBIG_SOVERSION}\" )" )
+install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${LIB_INSTALL_DIR}${LIB_POSTFIX}/libsbigudrv.so.${SBIG_SOVERSION}\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${LIB_INSTALL_DIR}${LIB_POSTFIX}/libsbigudrv.so)\" )" )
|