summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2017-11-20 16:33:05 +0100
committerJan Tojnar <jtojnar@gmail.com>2017-11-26 03:11:01 +0100
commit0ecb390981dcd630df4904997c4d90ec726c3701 (patch)
tree7d18710ffe0c371be82bc707d5387865dc3e6da1 /pkgs/tools
parent1566de20c7658d327b1a7e777bf7a6ae13851a87 (diff)
downloadnixlib-0ecb390981dcd630df4904997c4d90ec726c3701.tar
nixlib-0ecb390981dcd630df4904997c4d90ec726c3701.tar.gz
nixlib-0ecb390981dcd630df4904997c4d90ec726c3701.tar.bz2
nixlib-0ecb390981dcd630df4904997c4d90ec726c3701.tar.lz
nixlib-0ecb390981dcd630df4904997c4d90ec726c3701.tar.xz
nixlib-0ecb390981dcd630df4904997c4d90ec726c3701.tar.zst
nixlib-0ecb390981dcd630df4904997c4d90ec726c3701.zip
colord: fix colord-sane path
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/colord/fix-build-paths.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/tools/misc/colord/fix-build-paths.patch b/pkgs/tools/misc/colord/fix-build-paths.patch
index 3761fee89838..d4bf0f36ad74 100644
--- a/pkgs/tools/misc/colord/fix-build-paths.patch
+++ b/pkgs/tools/misc/colord/fix-build-paths.patch
@@ -61,3 +61,14 @@
 -  install_dir : join_paths(udev.get_pkgconfig_variable('udevdir'), 'rules.d')
 +  install_dir : join_paths(get_option('prefix'), 'lib', 'udev', 'rules.d')
  )
+--- a/src/plugins/meson.build
++++ b/src/plugins/meson.build
+@@ -66,7 +66,7 @@
+     install_dir: join_paths(get_option('libdir'), 'colord-plugins'),
+     c_args : [
+       cargs,
+-      '-DCOLORD_SANE_BINARY="' + join_paths(get_option('libexecdir'), 'colord-sane' + '"'),
++      '-DCOLORD_SANE_BINARY="' + join_paths(get_option('prefix'), get_option('libexecdir'), 'colord-sane' + '"'),
+     ],
+     dependencies : [
+       gio,