aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2018-01-06 06:22:16 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 06:19:19 +0800
commit9e0c58e485ed64b7330c23990a1b078b0e60b9cb (patch)
tree498c9fe475641e5c44e6472f7ba94005c9b42396 /games
parent0441bb31be3d766b88b09d8e32353906f317e5db (diff)
downloadfreebsd-ports-gnome-9e0c58e485ed64b7330c23990a1b078b0e60b9cb.tar.gz
freebsd-ports-gnome-9e0c58e485ed64b7330c23990a1b078b0e60b9cb.tar.zst
freebsd-ports-gnome-9e0c58e485ed64b7330c23990a1b078b0e60b9cb.zip
Backport and adapt patch to fix `make install' with Qt 5.9:
/usr/local/lib/qt5/bin/qmake -install qinstall /wrkdirs/usr/ports/games/tanglet/work/tanglet-1.4.0/translations/*.qm /wrkdirs/usr/ports/games/tanglet/work/stage/usr/local/share/tanglet/translations/*.qm Error: usage: [-exe] source target *** Error code 3 (ignored) PR: 224849
Diffstat (limited to 'games')
-rw-r--r--games/tanglet/files/patch-git_252e8f428
1 files changed, 28 insertions, 0 deletions
diff --git a/games/tanglet/files/patch-git_252e8f4 b/games/tanglet/files/patch-git_252e8f4
new file mode 100644
index 000000000000..5364e5859861
--- /dev/null
+++ b/games/tanglet/files/patch-git_252e8f4
@@ -0,0 +1,28 @@
+Backport (adapted to 1.4.0) that fixes `make install' with Qt 5.9:
+
+ /usr/local/lib/qt5/bin/qmake -install qinstall /wrkdirs/usr/ports/games/tanglet/work/tanglet-1.4.0/translations/*.qm /wrkdirs/usr/ports/games/tanglet/work/stage/usr/local/share/tanglet/translations/*.qm
+ Error: usage: [-exe] source target
+ *** Error code 3 (ignored)
+
+From 252e8f406a709dadcd915459c4137471df64b04a Mon Sep 17 00:00:00 2001
+From: Graeme Gott <graeme@gottcode.org>
+Date: Sat, 1 Jul 2017 04:59:28 -0400
+Subject: [PATCH] FIXED: Did not always install translations in Linux.
+
+---
+ src/src.pro | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/src.pro b/src/src.pro
+index 5b8c318..3d20cc3 100644
+--- tanglet.pro
++++ tanglet.pro
+@@ -121,7 +121,7 @@ macx {
+ appdata.files = icons/tanglet.appdata.xml
+ appdata.path = $$PREFIX/share/appdata/
+
+- qm.files = translations/*.qm
++ qm.files = $$replace(TRANSLATIONS, .ts, .qm)
+ qm.path = $$PREFIX/share/tanglet/translations
+ qm.CONFIG += no_check_exist
+