From 21f6b8beabe0351603a15a7be22f488f48d04ccd Mon Sep 17 00:00:00 2001
From: Olivier Stasse <ostasse@laas.fr>
Date: Mon, 24 Jul 2017 18:39:04 +0200
Subject: [PATCH] [wip/sot-hrp2-v3] Fix wrong variables in depend.mk This bug
 prevented correct inclusion of sot-hrp2-v3 in other packages dependencies.

---
 sot-hrp2-v3/Makefile  | 1 +
 sot-hrp2-v3/depend.mk | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sot-hrp2-v3/Makefile b/sot-hrp2-v3/Makefile
index 2752f42a..37fe265d 100644
--- a/sot-hrp2-v3/Makefile
+++ b/sot-hrp2-v3/Makefile
@@ -5,6 +5,7 @@
 VERSION=		2.0.2
 DISTNAME=		sot-hrp2-v3-${VERSION}
 PKGNAME=		sot-hrp2-v3-${VERSION}
+PKGREVISION=		1
 
 CATEGORIES=		wip
 MASTER_SITES=		${MASTER_SITE_OPENROBOTS:=sot-hrp2-v3/}
diff --git a/sot-hrp2-v3/depend.mk b/sot-hrp2-v3/depend.mk
index 3f6e0e62..48fc13bf 100644
--- a/sot-hrp2-v3/depend.mk
+++ b/sot-hrp2-v3/depend.mk
@@ -9,7 +9,7 @@ ifeq (+,$(DEPEND_DEPTH))
 DEPEND_PKG+=		sot-hrp2-v3
 endif
 
-ifeq (+,$(SOTH_DEPEND_MK)) # -------------------------------------------
+ifeq (+,$(SOT_HRP2_V3_DEPEND_MK)) # -------------------------------------------
 
 PREFER.sot-hrp2-v3?=	robotpkg
 
@@ -22,6 +22,6 @@ DEPEND_USE+=		sot-hrp2-v3
 DEPEND_ABI.sot-hrp2-v3?=	sot-hrp2-v3>=2.0.0
 DEPEND_DIR.sot-hrp2-v3?=	../../wip/sot-hrp2-v3
 
-endif # SOT_HRP2_DEPEND_MK -------------------------------------------------
+endif # SOT_HRP2_V3_DEPEND_MK -------------------------------------------------
 
 DEPEND_DEPTH:=		${DEPEND_DEPTH:+=}
-- 
GitLab