summaryrefslogtreecommitdiff
path: root/media-libs/coin/files/coin-4.0.0-0002-cpack.d-is-now-optional.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /media-libs/coin/files/coin-4.0.0-0002-cpack.d-is-now-optional.patch
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'media-libs/coin/files/coin-4.0.0-0002-cpack.d-is-now-optional.patch')
-rw-r--r--media-libs/coin/files/coin-4.0.0-0002-cpack.d-is-now-optional.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/coin/files/coin-4.0.0-0002-cpack.d-is-now-optional.patch b/media-libs/coin/files/coin-4.0.0-0002-cpack.d-is-now-optional.patch
new file mode 100644
index 000000000000..82fceadbd886
--- /dev/null
+++ b/media-libs/coin/files/coin-4.0.0-0002-cpack.d-is-now-optional.patch
@@ -0,0 +1,32 @@
+From be8e3d57aeb5b4df6abb52c5fa88666d48e7d7a0 Mon Sep 17 00:00:00 2001
+From: Giampiero Gabbiani <giampiero@gabbiani.org>
+Date: Tue, 14 Jan 2020 22:03:51 +0100
+Subject: [PATCH] cpack.d is now optional
+
+---
+ CMakeLists.txt | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3ce3a0d3a..755bd9d59 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -95,6 +95,7 @@ option(SPIDERMONKEY_RUNTIME_LINKING "Enable SpiderMonkey runtime linking when ON
+
+ option(COIN_VERBOSE "Add verbose debugging information during the configure process." OFF)
+ option(HAVE_MULTIPLE_VERSION "Forces versioned paths for includes and documentation when ON, usual behaviour otherwise." OFF)
++option(COIN_USE_CPACK "If enabled the cpack subrepo is mandatory" OFF)
+
+ cmake_dependent_option(COIN_BUILD_MAC_FRAMEWORK "Build framework instead of dylib on Mac OS X when ON. Only valid if COIN_BUILD_SHARED_LIBS is ON." OFF "APPLE;NOT IOS;COIN_BUILD_SHARED_LIBS" OFF)
+ cmake_dependent_option(COIN_BUILD_MAC_X11 "Build for X11 on Mac OS X when ON. Default is OFF." OFF "APPLE" OFF)
+@@ -820,4 +821,6 @@ endif()
+
+ # ############################################################################
+ # New CPACK section, please see the README file inside cpack.d directory.
+-add_subdirectory(cpack.d)
++if (COIN_USE_CPACK)
++ add_subdirectory(cpack.d)
++endif()
+--
+2.26.2
+