diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2018-01-07 16:50:38 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-01-21 22:07:52 +0100 |
commit | 7c52fa4eafbd7f9d759bd6c8d0d95e874a421e13 (patch) | |
tree | b16cdbd4540e2cb7e65c3b227d5584f9150216a2 /dev-libs/device-atlas-api-c/files | |
parent | app-i18n/uchardet: amd64/ppc/ppc64/x86 stable (bug 639636) (diff) | |
download | gentoo-7c52fa4eafbd7f9d759bd6c8d0d95e874a421e13.tar.gz gentoo-7c52fa4eafbd7f9d759bd6c8d0d95e874a421e13.tar.bz2 gentoo-7c52fa4eafbd7f9d759bd6c8d0d95e874a421e13.zip |
dev-libs/device-atlas-api-c: Version bump
Closes: https://github.com/gentoo/gentoo/pull/6784
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-libs/device-atlas-api-c/files')
-rw-r--r-- | dev-libs/device-atlas-api-c/files/2.1.3-src-cmakelists.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-libs/device-atlas-api-c/files/2.1.3-src-cmakelists.patch b/dev-libs/device-atlas-api-c/files/2.1.3-src-cmakelists.patch new file mode 100644 index 000000000000..6d1f9ff5586b --- /dev/null +++ b/dev-libs/device-atlas-api-c/files/2.1.3-src-cmakelists.patch @@ -0,0 +1,18 @@ +--- a/Src/CMakeLists.txt ++++ b/Src/CMakeLists.txt +@@ -18,6 +18,7 @@ if (NOT MODEL) + set(MODEL 64) + endif() + ++include(GNUInstallDirs) + message(STATUS "${CMAKE_BUILD_TYPE} version") + + include_directories(${PCRE_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) +@@ -37,5 +38,5 @@ set (CMAKE_EXE_LINKER_FLAGS -m32) + set (CMAKE_SHARED_LINKER_FLAGS -m32) + endif() + +-install(FILES libda.so libda.so.${API_VERSION} DESTINATION /usr/local/lib) +-install(FILES dac.h dac_json.h DESTINATION /usr/local/include) ++install(TARGETS da DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++install(FILES dac.h dac_json.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) |