diff options
author | rakuco <rakuco@FreeBSD.org> | 2018-01-06 06:17:49 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2018-02-04 06:19:18 +0800 |
commit | 0441bb31be3d766b88b09d8e32353906f317e5db (patch) | |
tree | e60f0eb155324fdcb0188ca7a430e685d9a75e08 /games | |
parent | c8c55ea259bd10a62e4446072c3ad950c9b2ac61 (diff) | |
download | freebsd-ports-gnome-0441bb31be3d766b88b09d8e32353906f317e5db.tar.gz freebsd-ports-gnome-0441bb31be3d766b88b09d8e32353906f317e5db.tar.zst freebsd-ports-gnome-0441bb31be3d766b88b09d8e32353906f317e5db.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
Diffstat (limited to 'games')
-rw-r--r-- | games/gottet/files/patch-git_e299632 | 28 |
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 + |