Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/c-blosc/files: c-blosc-1.3.2-shared-libs.patch
Date: Thu, 06 Feb 2014 01:01:19
Message-Id: 20140206010017.58FD52004E@flycatcher.gentoo.org
1 bicatali 14/02/06 01:00:17
2
3 Added: c-blosc-1.3.2-shared-libs.patch
4 Log:
5 Initial import
6
7 (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
8
9 Revision Changes Path
10 1.1 dev-libs/c-blosc/files/c-blosc-1.3.2-shared-libs.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/c-blosc/files/c-blosc-1.3.2-shared-libs.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/c-blosc/files/c-blosc-1.3.2-shared-libs.patch?rev=1.1&content-type=text/plain
14
15 Index: c-blosc-1.3.2-shared-libs.patch
16 ===================================================================
17 --- hdf5/CMakeLists.txt.orig 2014-02-05 16:55:55.001344161 -0800
18 +++ hdf5/CMakeLists.txt 2014-02-05 16:57:03.767739650 -0800
19 @@ -23,16 +23,16 @@
20
21 # install
22 install(FILES blosc_filter.h DESTINATION include COMPONENT HDF5_FILTER_DEV)
23 -install(TARGETS blosc_filter_static DESTINATION lib COMPONENT HDF5_FILTER)
24 +install(TARGETS blosc_filter_shared DESTINATION lib${LIB_SUFFIX} COMPONENT HDF5_FILTER)
25 if(BUILD_STATIC)
26 install(
27 - TARGETS blosc_filter_shared DESTINATION lib COMPONENT HDF5_FILTER_DEV)
28 + TARGETS blosc_filter_static DESTINATION lib${LIB_SUFFIX} COMPONENT HDF5_FILTER_DEV)
29 endif(BUILD_STATIC)
30
31
32 # test
33 if(BUILD_TESTS)
34 add_executable(example example.c)
35 - target_link_libraries(example blosc_filter_static ${HDF5_LIBRARIES})
36 + target_link_libraries(example blosc_filter_shared ${HDF5_LIBRARIES})
37 add_test(test_hdf5_filter example)
38 endif(BUILD_TESTS)