summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Ulyanov <disinbox@gmail.com>2019-11-09 12:33:58 +0300
committerIgor Ulyanov <disinbox@gmail.com>2020-01-05 13:18:18 +0300
commit9db19655ff8068a46b4f913a1c23cf0542851ed4 (patch)
treeb933e494076875463b6bf2c3555c2e3fe1779833
parentopenxlsx added (diff)
downloaddisplacer-9db19655ff8068a46b4f913a1c23cf0542851ed4.tar.gz
displacer-9db19655ff8068a46b4f913a1c23cf0542851ed4.tar.bz2
displacer-9db19655ff8068a46b4f913a1c23cf0542851ed4.zip
install-enabled patch
Signed-off-by: Igor Ulyanov <disinbox@gmail.com>
-rw-r--r--dev-libs/openxlsx/files/install-enabled.patch33
-rw-r--r--dev-libs/openxlsx/openxlsx-9999.ebuild2
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/openxlsx/files/install-enabled.patch b/dev-libs/openxlsx/files/install-enabled.patch
new file mode 100644
index 0000000..6070bae
--- /dev/null
+++ b/dev-libs/openxlsx/files/install-enabled.patch
@@ -0,0 +1,33 @@
+From dee569a3e5fac58020579594acb90ccce888c44c Mon Sep 17 00:00:00 2001
+From: Igor Ulyanov <disinbox@gmail.com>
+Date: Sat, 9 Nov 2019 12:26:54 +0300
+Subject: [PATCH] install enabled
+
+---
+ library/openxlsx/CMakeLists.txt | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/library/openxlsx/CMakeLists.txt b/library/openxlsx/CMakeLists.txt
+index a83d2da..be94a6b 100644
+--- a/library/openxlsx/CMakeLists.txt
++++ b/library/openxlsx/CMakeLists.txt
+@@ -215,10 +215,10 @@ file(COPY ${CMAKE_CURRENT_BINARY_DIR}/openxlsx_export.h DESTINATION ${OPENXLSX_I
+ #=======================================================================================================================
+ # Install OpenXLSX Library
+ #=======================================================================================================================
+-#include(GNUInstallDirs)
+-#install(TARGETS OpenXLSX
+-# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${INSTALL_SUFFIX}
+-# LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${INSTALL_SUFFIX}
+-# RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
+-#install(FILES ${OPENXLSX_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/OpenXLSX)
++include(GNUInstallDirs)
++install(TARGETS OpenXLSX
++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${INSTALL_SUFFIX}
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${INSTALL_SUFFIX}
++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
++install(FILES ${OPENXLSX_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/OpenXLSX)
+
+--
+2.23.0
+
diff --git a/dev-libs/openxlsx/openxlsx-9999.ebuild b/dev-libs/openxlsx/openxlsx-9999.ebuild
index 41d9c33..e8100a7 100644
--- a/dev-libs/openxlsx/openxlsx-9999.ebuild
+++ b/dev-libs/openxlsx/openxlsx-9999.ebuild
@@ -18,4 +18,6 @@ RDEPEND="dev-libs/pugixml
dev-libs/libzip"
DEPEND=""
+PATCHES="${FILESDIR}/install-enabled.patch"
+
EGIT_REPO_URI="https://github.com/troldal/OpenXLSX.git"