diff options
author | Alexis Ballier <aballier@gentoo.org> | 2018-02-06 16:49:42 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2018-02-06 20:23:27 +0100 |
commit | 5c9b7b5efacd4f037fa15f864db5578430968eb7 (patch) | |
tree | 60c1ca50c748ceacc766c26c38c4618d866d2342 /dev-ros/ros_environment/files | |
parent | dev-util/catkin: bump to 0.7.11 (diff) | |
download | gentoo-5c9b7b5efacd4f037fa15f864db5578430968eb7.tar.gz gentoo-5c9b7b5efacd4f037fa15f864db5578430968eb7.tar.bz2 gentoo-5c9b7b5efacd4f037fa15f864db5578430968eb7.zip |
dev-ros/ros_environment: initial import
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ros/ros_environment/files')
-rw-r--r-- | dev-ros/ros_environment/files/catkinprefixpath.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-ros/ros_environment/files/catkinprefixpath.patch b/dev-ros/ros_environment/files/catkinprefixpath.patch new file mode 100644 index 000000000000..ba78a70c2a49 --- /dev/null +++ b/dev-ros/ros_environment/files/catkinprefixpath.patch @@ -0,0 +1,13 @@ +Index: ros_environment-9999/env-hooks/1.ros_package_path.sh.em +=================================================================== +--- ros_environment-9999.orig/env-hooks/1.ros_package_path.sh.em ++++ ros_environment-9999/env-hooks/1.ros_package_path.sh.em +@@ -4,7 +4,7 @@ + PYTHON_CODE_BUILD_ROS_PACKAGE_PATH=$(cat <<EOF + from __future__ import print_function + import os +-env_name = 'CMAKE_PREFIX_PATH' ++env_name = 'CATKIN_PREFIX_PATH' + paths = [path for path in os.environ[env_name].split(os.pathsep)] if env_name in os.environ and os.environ[env_name] != '' else [] + workspaces = [path for path in paths if os.path.exists(os.path.join(path, '.catkin'))] + paths = [] |