summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2018-08-29 06:47:53 -0400
committerAaron W. Swenson <titanofold@gentoo.org>2018-08-29 06:47:53 -0400
commit37c1feba2c76814bb66da36d7fd8916396a99037 (patch)
treef01194c166bacf0cc52c264294f883918e3e19ab /app-office/gnucash/files
parentmedia-video/vdr: gcc7 compile issius fixed in extpng (diff)
downloadgentoo-37c1feba2c76814bb66da36d7fd8916396a99037.tar.gz
gentoo-37c1feba2c76814bb66da36d7fd8916396a99037.tar.bz2
gentoo-37c1feba2c76814bb66da36d7fd8916396a99037.zip
app-office/gnucash: Add option to disable GUI
Thanks to Reimundo Heluani for working on this. Closes: https://bugs.gentoo.org/651200 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-office/gnucash/files')
-rw-r--r--app-office/gnucash/files/gnucash-3.2-no-gui.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-office/gnucash/files/gnucash-3.2-no-gui.patch b/app-office/gnucash/files/gnucash-3.2-no-gui.patch
new file mode 100644
index 000000000000..896aafd17f15
--- /dev/null
+++ b/app-office/gnucash/files/gnucash-3.2-no-gui.patch
@@ -0,0 +1,14 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5e10a09..cdbdb7a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -770,7 +770,9 @@ set(SCHEME_INSTALLED_CACHE_DIR ${PKGLIBDIR}/scm/ccache/${GUILE_EFFECTIVE_VERSION
+ # The subdirectories
+ add_subdirectory (borrowed)
+ add_subdirectory (data)
++if (WITH_GNUCASH)
+ add_subdirectory (doc)
++endif (WITH_GNUCASH)
+ add_subdirectory (po)
+ add_subdirectory (common)
+ add_subdirectory (libgnucash)