aboutsummaryrefslogtreecommitdiff
path: root/math/dune-localfunctions
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-03-15 01:22:10 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-03-15 01:22:10 +0000
commitfc39db840664eec97fb5056b410d8dd8e1cc267c (patch)
tree27b655d9f5b8560cfde54a431a88e9438ea48ca8 /math/dune-localfunctions
parent5e9c2bba5fbc92dfcb0a036e509cba1f9df5a1c9 (diff)
downloadports-fc39db840664eec97fb5056b410d8dd8e1cc267c.tar.gz
ports-fc39db840664eec97fb5056b410d8dd8e1cc267c.zip
math/dune-localfunctions: Fix build with DOCS=OFF
Notes
Notes: svn path=/head/; revision=528463
Diffstat (limited to 'math/dune-localfunctions')
-rw-r--r--math/dune-localfunctions/files/patch-CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/dune-localfunctions/files/patch-CMakeLists.txt b/math/dune-localfunctions/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..d2f693a416ac
--- /dev/null
+++ b/math/dune-localfunctions/files/patch-CMakeLists.txt
@@ -0,0 +1,12 @@
+--- CMakeLists.txt.orig 2020-03-15 01:20:08 UTC
++++ CMakeLists.txt
+@@ -22,7 +22,9 @@ include(DuneMacros)
+ # start a dune project with information from dune.module
+ dune_project()
+
++if (FREEBSD_INSTALL_DOCS)
+ add_subdirectory(doc)
++endif()
+ add_subdirectory(dune)
+
+ finalize_dune_project(GENERATE_CONFIG_H_CMAKE)