summaryrefslogtreecommitdiff
path: root/dev-ros/roslib/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-ros/roslib/files
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ros/roslib/files')
-rw-r--r--dev-ros/roslib/files/envhook.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/dev-ros/roslib/files/envhook.patch b/dev-ros/roslib/files/envhook.patch
deleted file mode 100644
index d4e24e937351..000000000000
--- a/dev-ros/roslib/files/envhook.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Use env python for running python so that it uses the proper version on Gentoo.
-Honour CATKIN_PREFIX_PATH gentoo addition.
-
-Index: roslib/env-hooks/10.ros.sh.em
-===================================================================
---- roslib.orig/env-hooks/10.ros.sh.em
-+++ roslib/env-hooks/10.ros.sh.em
-@@ -1,8 +1,5 @@
- # generated from ros/env-hooks/10.ros.sh.em
-
--# scrub old ROS bin dirs, to avoid accidentally finding the wrong executables
--export PATH="`@(PYTHON_EXECUTABLE) -c \"import os; print(os.pathsep.join([x for x in \\\"$PATH\\\".split(os.pathsep) if not any([d for d in ['cturtle', 'diamondback', 'electric', 'fuerte'] if d in x])]))\"`"
--
- @{
- # This is a build-time environment variable which allows a build engineer to override the expected
- # ROS_DISTRO value for a workspace, for example to deliberately use a newer version of roslib with
-@@ -19,7 +16,7 @@ export ROS_DISTRO=@(ROS_DISTRO)
- 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 = []
-@@ -38,7 +35,7 @@ for workspace in workspaces:
- print(os.pathsep.join(paths))
- EOF
- )
--export ROS_PACKAGE_PATH="`@(PYTHON_EXECUTABLE) -c \"$PYTHON_CODE_BUILD_ROS_PACKAGE_PATH\"`"
-+export ROS_PACKAGE_PATH="`/usr/bin/env python -c \"$PYTHON_CODE_BUILD_ROS_PACKAGE_PATH\"`"
-
- @[if DEVELSPACE]@
- # env variables in develspace