summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl@gmail.com>2020-05-17 22:10:51 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-06-12 09:59:45 +0300
commit90798b37d1f8189d7130769f7936067740535721 (patch)
tree95e1a16cce36ab30c0da3262d5dc6eea08ace708 /media-gfx/openscad/files
parentmedia-gfx/openscad: Fix build with boost-1.73.0 (diff)
downloadgentoo-90798b37d1f8189d7130769f7936067740535721.tar.gz
gentoo-90798b37d1f8189d7130769f7936067740535721.tar.bz2
gentoo-90798b37d1f8189d7130769f7936067740535721.zip
media-gfx/openscad: backport r3 changes
Backport the changes from 2019.05-r3 to live ebuild. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Bernd Waibel <waebbl@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/openscad/files')
-rw-r--r--media-gfx/openscad/files/openscad-9999-0002-Gentoo-specific-Disable-ccache-building.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/media-gfx/openscad/files/openscad-9999-0002-Gentoo-specific-Disable-ccache-building.patch b/media-gfx/openscad/files/openscad-9999-0002-Gentoo-specific-Disable-ccache-building.patch
new file mode 100644
index 000000000000..ca21b9322e8e
--- /dev/null
+++ b/media-gfx/openscad/files/openscad-9999-0002-Gentoo-specific-Disable-ccache-building.patch
@@ -0,0 +1,35 @@
+From 8d6fd9c0896e513eec2da3c97cfd33a5ec09c148 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl@gmail.com>
+Date: Sun, 17 May 2020 21:38:45 +0200
+Subject: [PATCH] [Gentoo-specific] Disable ccache building
+
+On Gentoo we use a USE flag to determine whether to use
+ccache for building or not.
+
+Signed-off-by: Bernd Waibel <waebbl@gmail.com>
+---
+ openscad.pro | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/openscad.pro b/openscad.pro
+index cc7f3569..8fbd3a5b 100755
+--- a/openscad.pro
++++ b/openscad.pro
+@@ -208,10 +208,10 @@ mdi {
+ DEFINES += ENABLE_MDI
+ }
+
+-system("ccache -V >/dev/null 2>/dev/null") {
+- CONFIG += ccache
+- message("Using ccache")
+-}
++#system("ccache -V >/dev/null 2>/dev/null") {
++# CONFIG += ccache
++# message("Using ccache")
++#}
+
+ include(common.pri)
+
+--
+2.26.2
+