diff options
author | Richard Yao <ryao@gentoo.org> | 2013-10-13 12:13:49 +0000 |
---|---|---|
committer | Richard Yao <ryao@gentoo.org> | 2013-10-13 12:13:49 +0000 |
commit | d3b572dc6861e5669f7d562fcc95f871fb5557de (patch) | |
tree | a464fba03ab7b305c9aa0d80be80a0bececb1db0 /app-arch/lz4/files | |
parent | Add missing depend (#476134) (diff) | |
download | gentoo-2-d3b572dc6861e5669f7d562fcc95f871fb5557de.tar.gz gentoo-2-d3b572dc6861e5669f7d562fcc95f871fb5557de.tar.bz2 gentoo-2-d3b572dc6861e5669f7d562fcc95f871fb5557de.zip |
Introduce app-arch/lz4-0_p106-r1 to replace short-lived app-arch/lz4-0_p106: Path issues are fixed; app-arch/lz4-9999 has been synchronized with app-arch/lz4-0_p106-r1
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xBEE84C64)
Diffstat (limited to 'app-arch/lz4/files')
-rw-r--r-- | app-arch/lz4/files/lz4-0_p106-install-to-bindir.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-arch/lz4/files/lz4-0_p106-install-to-bindir.patch b/app-arch/lz4/files/lz4-0_p106-install-to-bindir.patch new file mode 100644 index 000000000000..521b1bfc58d2 --- /dev/null +++ b/app-arch/lz4/files/lz4-0_p106-install-to-bindir.patch @@ -0,0 +1,51 @@ +diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt +index 496c076..ce3fab1 100644 +--- a/cmake/CMakeLists.txt ++++ b/cmake/CMakeLists.txt +@@ -41,11 +41,11 @@ endif() + if (CMAKE_SYSTEM_PROCESSOR STREQUAL "64bit")
+ message(STATUS "Build 64bit executable binary")
+ add_executable(lz4c64 ${LZ4_SRCS})
+- install(TARGETS lz4c64 RUNTIME DESTINATION "./")
++ install(TARGETS lz4c64 RUNTIME DESTINATION "bin/")
+ if(NOT BUILD_SHARED_LIBS)
+ message(STATUS "Build 32bit executable binary")
+ add_executable(lz4c32 ${LZ4_SRCS})
+- install(TARGETS lz4c32 RUNTIME DESTINATION "./")
++ install(TARGETS lz4c32 RUNTIME DESTINATION "bin/")
+
+ SET_TARGET_PROPERTIES(lz4c32 PROPERTIES
+ COMPILE_FLAGS PROPERTIES COMPILE_FLAGS "-m32" LINK_FLAGS "-m32")
+@@ -53,7 +53,7 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "64bit") + else()
+ message(STATUS "Build 32bit executable binary")
+ add_executable(lz4c32 ${LZ4_SRCS})
+- install(TARGETS lz4c32 RUNTIME DESTINATION "./")
++ install(TARGETS lz4c32 RUNTIME DESTINATION "bin/")
+ endif()
+
+ if(BUILD_SHARED_LIBS)
+diff --git a/cmake/pack/CMakeLists.txt b/cmake/pack/CMakeLists.txt +index a9b0557..e85416e 100644 +--- a/cmake/pack/CMakeLists.txt ++++ b/cmake/pack/CMakeLists.txt +@@ -48,16 +48,16 @@ set(FUZZER_SRCS ${SRC_DIR}lz4.c ${SRC_DIR}lz4hc.c ${SRC_DIR}lz4.h ${SRC_DIR}fuzz + # EXECUTABLES FOR 32 Bit and 64 versions
+ if(CMAKE_SYSTEM_PROCESSOR STREQUAL "64bit")
+ add_executable(lz4c32 ${LZ4_SRCS})
+- install(TARGETS lz4c32 RUNTIME DESTINATION "./")
++ install(TARGETS lz4c32 RUNTIME DESTINATION "bin/")
+ SET_TARGET_PROPERTIES(lz4c32 PROPERTIES
+ COMPILE_FLAGS PROPERTIES COMPILE_FLAGS "-m32 -Os" LINK_FLAGS "-m32")
+ endif()
+
+ add_executable(lz4c ${LZ4_SRCS})
+-install(TARGETS lz4c RUNTIME DESTINATION "./")
++install(TARGETS lz4c RUNTIME DESTINATION "bin/")
+
+ add_executable(fuzzer ${FUZZER_SRCS})
+-install(TARGETS fuzzer RUNTIME DESTINATION "./")
++install(TARGETS fuzzer RUNTIME DESTINATION "bin/")
+
+ #target_link_libraries(lz4 ${LZ4_SRCS_LIB})
+ ####################### CPACK PACKAGING ###################
|