-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathfocus-respect-destdir3.patch
55 lines (49 loc) · 2.89 KB
/
focus-respect-destdir3.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
--- apps/fLogBrowser/CMakeLists.txt.orig 2018-09-13 08:45:45.950973549 -0600
+++ apps/fLogBrowser/CMakeLists.txt 2018-09-13 08:46:25.760162804 -0600
@@ -116,7 +116,7 @@
# install a qt.conf file
# this inserts some cmake code into the install script to write the file
INSTALL(CODE "
- file(WRITE \"\${CMAKE_INSTALL_PREFIX}/${qtconf_dest_dir}/qt.conf\" \"\")
+ file(WRITE \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${qtconf_dest_dir}/qt.conf\" \"\")
" COMPONENT Runtime)
--- apps/fMrcConverter/CMakeLists.txt.orig 2018-09-13 08:45:51.741001075 -0600
+++ apps/fMrcConverter/CMakeLists.txt 2018-09-13 08:46:25.761162809 -0600
@@ -77,7 +77,7 @@
# install a qt.conf file
# this inserts some cmake code into the install script to write the file
INSTALL(CODE "
- file(WRITE \"\${CMAKE_INSTALL_PREFIX}/${qtconf_dest_dir}/qt.conf\" \"[Paths]\nPlugins = PlugIns\")
+ file(WRITE \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${qtconf_dest_dir}/qt.conf\" \"[Paths]\nPlugins = PlugIns\")
" COMPONENT Runtime)
# Use BundleUtilities to get all other dependencies for the application to work.
--- apps/fViewer/CMakeLists.txt.orig 2018-09-13 08:45:57.725029523 -0600
+++ apps/fViewer/CMakeLists.txt 2018-09-13 08:46:25.762162814 -0600
@@ -77,7 +77,7 @@
# install a qt.conf file
# this inserts some cmake code into the install script to write the file
INSTALL(CODE "
- file(WRITE \"\${CMAKE_INSTALL_PREFIX}/${qtconf_dest_dir}/qt.conf\" \"[Paths]\nPlugins = PlugIns\")
+ file(WRITE \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${qtconf_dest_dir}/qt.conf\" \"[Paths]\nPlugins = PlugIns\")
" COMPONENT Runtime)
# Use BundleUtilities to get all other dependencies for the application to work.
--- apps/focus/CMakeLists.txt.orig 2018-09-13 08:46:02.752053422 -0600
+++ apps/focus/CMakeLists.txt 2018-09-13 08:46:25.763162819 -0600
@@ -90,7 +90,7 @@
# install a qt.conf file
# this inserts some cmake code into the install script to write the file
INSTALL(CODE "
- file(WRITE \"\${CMAKE_INSTALL_PREFIX}/${qtconf_dest_dir}/qt.conf\" \"[Paths]\nPlugins = PlugIns\")
+ file(WRITE \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${qtconf_dest_dir}/qt.conf\" \"[Paths]\nPlugins = PlugIns\")
" COMPONENT Runtime)
# Use BundleUtilities to get all other dependencies for the application to work.
--- apps/stale/2dx_image/CMakeLists.txt.orig 2018-09-13 08:46:07.310075091 -0600
+++ apps/stale/2dx_image/CMakeLists.txt 2018-09-13 08:46:25.764162823 -0600
@@ -77,7 +77,7 @@
# install a qt.conf file
# this inserts some cmake code into the install script to write the file
INSTALL(CODE "
- file(WRITE \"\${CMAKE_INSTALL_PREFIX}/${qtconf_dest_dir}/qt.conf\" \"[Paths]\nPlugins = PlugIns\")
+ file(WRITE \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${qtconf_dest_dir}/qt.conf\" \"[Paths]\nPlugins = PlugIns\")
" COMPONENT Runtime)
# Use BundleUtilities to get all other dependencies for the application to work.