From 27562e392ba4355a560e3a5869ad728e4b27d0dc Mon Sep 17 00:00:00 2001
From: Olivier Stasse <ostasse@laas.fr>
Date: Fri, 22 Jun 2018 09:45:30 +0200
Subject: [PATCH] [wip/pal-transmissions] Add chaining of the environment to
 make openrobots having the highest priority.

---
 pal-transmissions/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pal-transmissions/Makefile b/pal-transmissions/Makefile
index 1240633e..aa5d302e 100644
--- a/pal-transmissions/Makefile
+++ b/pal-transmissions/Makefile
@@ -9,7 +9,7 @@ DISTNAME=	${VERSION}
 ROSNAME=	$(subst -,_,${PKGBASE})
 DIST_SUBDIR=	${PKGBASE}
 WRKSRC=		${WRKDIR}/${ROSNAME}-${VERSION}
-PKGREVISION=	1
+PKGREVISION=	2
 
 CATEGORIES=	wip
 # Source file store in robotpkg website
@@ -24,6 +24,9 @@ LICENSE=	2-clause-bsd
 
 USE_BOOST_LIBS=	thread
 
+# To make sure that the chaining uses the openrobots packages first.
+CMAKE_PREFIX_PATH+= ${PREFIX}
+
 include ../../devel/boost-headers/depend.mk
 include ../../devel/boost-libs/depend.mk
 include ../../devel/ros-catkin/depend.mk
-- 
GitLab