summaryrefslogtreecommitdiff
path: root/net-libs/srt/files/1.4.3-always-GNUInstallDirs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/srt/files/1.4.3-always-GNUInstallDirs.patch')
-rw-r--r--net-libs/srt/files/1.4.3-always-GNUInstallDirs.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/net-libs/srt/files/1.4.3-always-GNUInstallDirs.patch b/net-libs/srt/files/1.4.3-always-GNUInstallDirs.patch
new file mode 100644
index 000000000000..f561d789af3f
--- /dev/null
+++ b/net-libs/srt/files/1.4.3-always-GNUInstallDirs.patch
@@ -0,0 +1,27 @@
+From 4036afdcd07083159d66c6e12caa20d6ac6d4926 Mon Sep 17 00:00:00 2001
+From: Mart Raudsepp <leio@gentoo.org>
+Date: Sat, 10 Jul 2021 15:02:35 +0300
+Subject: [PATCH] [build] Always use GNUInstallDirs
+
+---
+ CMakeLists.txt | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 25f34c8..fe23f90 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -47,9 +47,7 @@ set_if(SYMLINKABLE LINUX OR DARWIN OR BSD OR CYGWIN OR GNU)
+ # inside "bin" and "lib64" directories. At least this maintains
+ # the current status. Shall this be not desired, override values
+ # of CMAKE_INSTALL_BINDIR, CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR.
+-if (NOT DEFINED CMAKE_INSTALL_LIBDIR)
+- include(GNUInstallDirs)
+-endif()
++include(GNUInstallDirs)
+
+ # The CMAKE_BUILD_TYPE seems not to be always set, weird.
+ if (NOT DEFINED ENABLE_DEBUG)
+--
+2.32.0
+