From fde031371a0e74e17cca8968efa563ca9b8da085 Mon Sep 17 00:00:00 2001
From: Anthony Mallet <anthony.mallet@laas.fr>
Date: Wed, 5 Dec 2012 11:38:42 +0100
Subject: [PATCH] [wip/genom3] Fix dependencies

. Add missing tcl dependency >=8.5, pass corresponding --with-tcl to configure
. Add dependency on eltclsh. This is optional, but an option for that may be
  overkill.
---
 genom3/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/genom3/Makefile b/genom3/Makefile
index 50cfb6e2..0a1f59ef 100644
--- a/genom3/Makefile
+++ b/genom3/Makefile
@@ -16,11 +16,17 @@ COMMENT=	Software components generator for robotics architecture.
 LICENSE=	2-clause-bsd
 
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS+=--with-tcl=$(dir ${TCL_CONFIG_SH})
+CONFIGURE_ARGS+=--with-eltclsh=${PREFIX.eltclsh}
 INFO_FILES=	genom3.info
 NOT_FOR_PLATFORM=	# empty
 
+DEPEND_ABI.tcl=	tcl>=8.5
+
 include ../../pkgtools/pkg-config/depend.mk
+include ../../shell/eltclsh/depend.mk
 include ../../mk/sysdep/bison.mk
 include ../../mk/sysdep/flex.mk
+include ../../mk/sysdep/tcl.mk
 include ../../mk/sysdep/texinfo.mk
 include ../../mk/robotpkg.mk
-- 
GitLab