diff --git a/infuse-crisp-genom3/Makefile b/infuse-crisp-genom3/Makefile
index be16391da6587b799883a1b1bd8e4a1a2d739970..3025c283f438807ca1264a3798f9684f80a41e87 100644
--- a/infuse-crisp-genom3/Makefile
+++ b/infuse-crisp-genom3/Makefile
@@ -20,41 +20,6 @@ include ../../architecture/genom3/module.mk
 # In InFuse we use ROS, so keep these options enabled by default
 PKG_SUGGESTED_OPTIONS+=         ros-client-c ros-client-ros ros-server
 
-# # This WAS SUPPOSED TO fix the double dependency on std_msgs in the
-# # generated package.xml files. This does not work here probably because
-# # PKG_OPTIONS here is empty. This should probably go in a 'define' to be
-# # expanded later, but I don't know how to do it. :(
-# ifneq (,$(filter ros-client-c,${PKG_OPTIONS}))
-# 	SUBST_CLASSES+=							fix-ros-client-c-depends
-# 	SUBST_STAGE.fix-ros-client-c-depends=	pre-install
-# 	SUBST_MESSAGE.fix-ros-client-c-depends=	Fixing repeated dependency on std_msgs for option ros-client-c
-# 	SUBST_FILES.fix-ros-client-c-depends=	../templates/ros/client/c/*/package.xml
-# 	SUBST_SED.fix-ros-client-c-depends=		-e '0,/<depend>std_msgs<\/depend>/! s/<depend>std_msgs<\/depend>//'
-# endif
-# ifneq (,$(filter ros-client-ros,${PKG_OPTIONS}))
-# 	SUBST_CLASSES+=								fix-ros-client-ros-depends
-# 	SUBST_STAGE.fix-ros-client-ros-depends=		pre-install
-# 	SUBST_MESSAGE.fix-ros-client-ros-depends=	Fixing repeated dependency on std_msgs for option ros-client-ros
-# 	SUBST_FILES.fix-ros-client-ros-depends=		../templates/ros/client/ros/*/package.xml
-# 	SUBST_SED.fix-ros-client-ros-depends=		-e '0,/<depend>std_msgs<\/depend>/! s/<depend>std_msgs<\/depend>//'
-# endif
-# ifneq (,$(filter ros-server,${PKG_OPTIONS}))
-# 	SUBST_CLASSES+=							fix-ros-server-depends
-# 	SUBST_STAGE.fix-ros-server-depends=		pre-install
-# 	SUBST_MESSAGE.fix-ros-server-depends=	Fixing repeated dependency on std_msgs for option ros-server
-# 	SUBST_FILES.fix-ros-server-depends=		../templates/ros/server/*/package.xml
-# 	SUBST_SED.fix-ros-server-depends=		-e '0,/<depend>std_msgs<\/depend>/! s/<depend>std_msgs<\/depend>//'
-# endif
-
-# Dirty hack to fix the repeated dependency because the solution commented
-# above didn't work. The installation of this package probably going to fail
-# if not compiled with ROS options
-SUBST_CLASSES+=							fix-std-msgs-depends
-SUBST_STAGE.fix-std-msgs-depends=		pre-install
-SUBST_MESSAGE.fix-std-msgs-depends=		Fixing repeated dependency on std_msgs
-SUBST_FILES.fix-std-msgs-depends=		../templates/ros/server/*/package.xml
-SUBST_FILES.fix-std-msgs-depends+=		../templates/ros/client/*/*/package.xml
-SUBST_SED.fix-std-msgs-depends=			-e '0,/<depend>std_msgs<\/depend>/! s/<depend>std_msgs<\/depend>//'
 
 include ../../interfaces/openrobots-idl/depend.mk
 include ../../wip/infuse-idl/depend.mk