aboutsummaryrefslogtreecommitdiff
path: root/games/gottet
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2018-01-05 22:17:49 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2018-01-05 22:17:49 +0000
commit4db659e1384b1c159fc2f1a027e82f5f0ea28501 (patch)
treee7d1ac32bee9a1924854d8551076fe2cb5162fd3 /games/gottet
parent7f85a02b1ef2b9dd790cdaf27f9ec5a6b86fd7a4 (diff)
downloadports-4db659e1384b1c159fc2f1a027e82f5f0ea28501.tar.gz
ports-4db659e1384b1c159fc2f1a027e82f5f0ea28501.zip
Backport patch that fixes `make install' with Qt 5.9.
/usr/local/lib/qt5/bin/qmake -install qinstall /wrkdirs/usr/ports/games/gottet/work/gottet-1.1.3/translations/*.qm /wrkdirs/usr/ports/games/gottet/work/stage/usr/local/share/gottet/translations/*.qm Error: usage: [-exe] source target *** Error code 3 (ignored) PR: 224849
Notes
Notes: svn path=/head/; revision=458174
Diffstat (limited to 'games/gottet')
-rw-r--r--games/gottet/files/patch-git_e29963228
1 files changed, 28 insertions, 0 deletions
diff --git a/games/gottet/files/patch-git_e299632 b/games/gottet/files/patch-git_e299632
new file mode 100644
index 000000000000..c0f4515438a8
--- /dev/null
+++ b/games/gottet/files/patch-git_e299632
@@ -0,0 +1,28 @@
+Backport that fixes `make install' with Qt 5.9:
+
+ /usr/local/lib/qt5/bin/qmake -install qinstall /wrkdirs/usr/ports/games/gottet/work/gottet-1.1.3/translations/*.qm /wrkdirs/usr/ports/games/gottet/work/stage/usr/local/share/gottet/translations/*.qm
+ Error: usage: [-exe] source target
+ *** Error code 3 (ignored)
+
+From e299632494d3bfbbb4833c3feb7a3d7def77dd34 Mon Sep 17 00:00:00 2001
+From: Graeme Gott <graeme@gottcode.org>
+Date: Sat, 1 Jul 2017 04:54:46 -0400
+Subject: [PATCH] FIXED: Did not always install translations in Linux.
+
+---
+ gottet.pro | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gottet.pro b/gottet.pro
+index 8a337c4..aa8591d 100644
+--- gottet.pro
++++ gottet.pro
+@@ -80,7 +80,7 @@ macx {
+ appdata.files = icons/gottet.appdata.xml
+ appdata.path = $$PREFIX/share/metainfo/
+
+- qm.files = translations/*.qm
++ qm.files = $$replace(TRANSLATIONS, .ts, .qm)
+ qm.path = $$PREFIX/share/gottet/translations
+ qm.CONFIG += no_check_exist
+