summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-09-22 13:45:44 +0200
committerAlexis Ballier <aballier@gentoo.org>2015-09-22 13:45:44 +0200
commitdb6511c262aa5bbae4b416dff6d1d0d337fe47e2 (patch)
tree2b8efef292807212c80911c70ee6626a1978cc25 /dev-ros/rosbash/files
parentdev-ros/mk: Initial import. Ebuild by me. (diff)
downloadgentoo-db6511c262aa5bbae4b416dff6d1d0d337fe47e2.tar.gz
gentoo-db6511c262aa5bbae4b416dff6d1d0d337fe47e2.tar.bz2
gentoo-db6511c262aa5bbae4b416dff6d1d0d337fe47e2.zip
dev-ros/rosbash: Initial import. Ebuild by me.
Package-Manager: portage-2.2.21
Diffstat (limited to 'dev-ros/rosbash/files')
-rw-r--r--dev-ros/rosbash/files/catkin_prefix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-ros/rosbash/files/catkin_prefix.patch b/dev-ros/rosbash/files/catkin_prefix.patch
new file mode 100644
index 000000000000..fce54f548856
--- /dev/null
+++ b/dev-ros/rosbash/files/catkin_prefix.patch
@@ -0,0 +1,13 @@
+Index: rosbash/scripts/rosrun
+===================================================================
+--- rosbash.orig/scripts/rosrun
++++ rosbash/scripts/rosrun
+@@ -47,7 +47,7 @@ case $2 in
+ ;;
+ esac
+
+-if [[ -n $CMAKE_PREFIX_PATH ]]; then
++if [[ -n $CMAKE_PREFIX_PATH || -n $CATKIN_PREFIX_PATH ]]; then
+ catkin_package_libexec_dir=`catkin_find --without-underlays --libexec --share $1 2> /dev/null`
+ debug "Looking in catkin libexec dir: $catkin_package_libexec_dir"
+ fi