aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authortcberner <tcberner@FreeBSD.org>2018-06-19 22:00:07 +0800
committertcberner <tcberner@FreeBSD.org>2018-06-19 22:00:07 +0800
commite0df85893aa356a1dde7e91c0411e67eec903d12 (patch)
tree43cd80665d8a0c920af50029f94176e72f9eaf9d /graphics
parentd19a191337fd6f290a1e87a447cf5dbfc1ebea38 (diff)
downloadfreebsd-ports-gnome-e0df85893aa356a1dde7e91c0411e67eec903d12.tar.gz
freebsd-ports-gnome-e0df85893aa356a1dde7e91c0411e67eec903d12.tar.zst
freebsd-ports-gnome-e0df85893aa356a1dde7e91c0411e67eec903d12.zip
graphics/digikam: fix build when not using make jobs
Due to incompletely specified cmake targets the build can fail, as a generated file containging the git-version is missing -- as that is always empty in releases anyway, ignore that whole thing.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/digikam/Makefile2
-rw-r--r--graphics/digikam/files/patch-core_app_utils_digikam__version.h.cmake.in11
-rw-r--r--graphics/digikam/files/patch-extra_kipi-plugins_common_libkipiplugins_tools_kpversion.cpp11
3 files changed, 23 insertions, 1 deletions
diff --git a/graphics/digikam/Makefile b/graphics/digikam/Makefile
index 36a7cff48781..68c1a12a8283 100644
--- a/graphics/digikam/Makefile
+++ b/graphics/digikam/Makefile
@@ -2,7 +2,7 @@
PORTNAME= digikam
DISTVERSION= 5.9.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics kde
MASTER_SITES= KDE/stable/${PORTNAME}
DIST_SUBDIR= KDE/digikam/${PORTVERSION}
diff --git a/graphics/digikam/files/patch-core_app_utils_digikam__version.h.cmake.in b/graphics/digikam/files/patch-core_app_utils_digikam__version.h.cmake.in
new file mode 100644
index 000000000000..49a85adc421c
--- /dev/null
+++ b/graphics/digikam/files/patch-core_app_utils_digikam__version.h.cmake.in
@@ -0,0 +1,11 @@
+--- core/app/utils/digikam_version.h.cmake.in.orig 2018-06-16 08:50:14 UTC
++++ core/app/utils/digikam_version.h.cmake.in
+@@ -34,7 +34,7 @@
+
+ // Local includes.
+
+-#include "gitversion.h"
++#define GITVERSION ""
+
+ namespace Digikam
+ {
diff --git a/graphics/digikam/files/patch-extra_kipi-plugins_common_libkipiplugins_tools_kpversion.cpp b/graphics/digikam/files/patch-extra_kipi-plugins_common_libkipiplugins_tools_kpversion.cpp
new file mode 100644
index 000000000000..0fd4172f0ee4
--- /dev/null
+++ b/graphics/digikam/files/patch-extra_kipi-plugins_common_libkipiplugins_tools_kpversion.cpp
@@ -0,0 +1,11 @@
+--- extra/kipi-plugins/common/libkipiplugins/tools/kpversion.cpp.orig 2018-06-16 09:09:44 UTC
++++ extra/kipi-plugins/common/libkipiplugins/tools/kpversion.cpp
+@@ -21,7 +21,7 @@
+ * ============================================================ */
+
+ #include "kpversion.h"
+-#include "gitversion.h"
++#define GITVERSION ""
+
+ namespace pluginsVersion {
+