summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ros/visp_tracker/visp_tracker-0.13.1.ebuild5
-rw-r--r--dev-ros/visp_tracker/visp_tracker-9999.ebuild7
2 files changed, 11 insertions, 1 deletions
diff --git a/dev-ros/visp_tracker/visp_tracker-0.13.1.ebuild b/dev-ros/visp_tracker/visp_tracker-0.13.1.ebuild
index 5a0b0f5e491..e0d68f49302 100644
--- a/dev-ros/visp_tracker/visp_tracker-0.13.1.ebuild
+++ b/dev-ros/visp_tracker/visp_tracker-0.13.1.ebuild
@@ -37,3 +37,8 @@ if [ "${PV#9999}" = "${PV}" ] ; then
S="${WORKDIR}/vision_visp-noetic-${PV}/${ROS_SUBDIR}"
fi
PATCHES=( "${FILESDIR}/gcc6.patch" )
+
+src_compile() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_compile
+}
diff --git a/dev-ros/visp_tracker/visp_tracker-9999.ebuild b/dev-ros/visp_tracker/visp_tracker-9999.ebuild
index 81537d67935..e0d68f49302 100644
--- a/dev-ros/visp_tracker/visp_tracker-9999.ebuild
+++ b/dev-ros/visp_tracker/visp_tracker-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -37,3 +37,8 @@ if [ "${PV#9999}" = "${PV}" ] ; then
S="${WORKDIR}/vision_visp-noetic-${PV}/${ROS_SUBDIR}"
fi
PATCHES=( "${FILESDIR}/gcc6.patch" )
+
+src_compile() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_compile
+}