dev-ros/visp_tracker: fix build

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
Alexis Ballier
2022-07-07 12:20:24 +02:00
parent 214831bfc6
commit e4d0be42d3
2 changed files with 11 additions and 1 deletions

View File

@@ -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
}

View File

@@ -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
}