diff options
author | Ctibor Brančík <ctibor@brancik.cz> | 2017-12-27 18:08:19 +0100 |
---|---|---|
committer | Ctibor Brančík <ctibor@brancik.cz> | 2017-12-27 18:08:19 +0100 |
commit | 4eec3ee9d013eaec92c199843cd288f03894735f (patch) | |
tree | 16092a4b151f8c1119d8797f15980eb8e3871060 /sci-libs/libapogee | |
parent | ba112a26e6701bfa3157e504c8f13e4d0cf0cd6e (diff) | |
download | brancik-overlay-4eec3ee9d013eaec92c199843cd288f03894735f.tar.gz brancik-overlay-4eec3ee9d013eaec92c199843cd288f03894735f.tar.bz2 |
Fix multilib-strict check requirements for libapogee
Diffstat (limited to 'sci-libs/libapogee')
-rw-r--r-- | sci-libs/libapogee/files/libapogee_1.5.0-fix_cmake_libdir.patch | 12 | ||||
-rw-r--r-- | sci-libs/libapogee/libapogee-1.5.0.ebuild | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sci-libs/libapogee/files/libapogee_1.5.0-fix_cmake_libdir.patch b/sci-libs/libapogee/files/libapogee_1.5.0-fix_cmake_libdir.patch new file mode 100644 index 0000000..7203da7 --- /dev/null +++ b/sci-libs/libapogee/files/libapogee_1.5.0-fix_cmake_libdir.patch @@ -0,0 +1,12 @@ +diff -ruN indi-1.5.0/3rdparty/libapogee/CMakeLists.txt indi-1.5.0.new/3rdparty/libapogee/CMakeLists.txt +--- indi-1.5.0/3rdparty/libapogee/CMakeLists.txt 2017-08-20 11:44:27.000000000 +0200 ++++ indi-1.5.0.new/3rdparty/libapogee/CMakeLists.txt 2017-12-27 18:03:46.578437290 +0100 +@@ -94,7 +94,7 @@ + + target_link_libraries(apogee ${LIBUSB_1_LIBRARIES} ${CURL_LIBRARY} ${Boost_LIBRARIES}) + +-install(TARGETS apogee LIBRARY DESTINATION lib) ++install(TARGETS apogee LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) + + install( FILES ApogeeCam.h Alta.h AltaF.h Ascent.h CamGen2Base.h CameraInfo.h CameraStatusRegs.h Aspen.h FindDeviceEthernet.h FindDeviceUsb.h HiC.h ApogeeFilterWheel.h Quad.h DefDllExport.h versionNo.h doc.h ApgLogger.h LoggerSyslog.h DESTINATION include/libapogee COMPONENT Devel) + diff --git a/sci-libs/libapogee/libapogee-1.5.0.ebuild b/sci-libs/libapogee/libapogee-1.5.0.ebuild index 005d89d..2fbe3d7 100644 --- a/sci-libs/libapogee/libapogee-1.5.0.ebuild +++ b/sci-libs/libapogee/libapogee-1.5.0.ebuild @@ -21,6 +21,8 @@ DEPEND="virtual/libusb:1 RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/libapogee_1.5.0-fix_cmake_libdir.patch" ) + INDI_TARGET_DIRECTORY="${PN%%lib-driver-**}" S="${WORKDIR}/${MY_PN}-${PV}/3rdparty/${INDI_TARGET_DIRECTORY}" |