diff --git a/jrl-walkgen-v3/Makefile b/jrl-walkgen-v3/Makefile
index 81151be8ffb1e4e835423a04aba440335e39d136..861fd31b8cbcb26c91ce08f85e36f390a6b3e073 100644
--- a/jrl-walkgen-v3/Makefile
+++ b/jrl-walkgen-v3/Makefile
@@ -17,18 +17,14 @@ LICENSE=	gnu-lgpl-v3
 
 DYNAMIC_PLIST_DIRS+=	share/doc/jrl-walkgen
 
+CONFLICTS+=		jrl-walkgen
+
 PKG_SUPPORTED_OPTIONS+= debug
 PKG_OPTION_DESCR.debug=	Compile in debugging mode
 PKG_OPTION_SET.debug:=	CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Debug
 
-# Build the package in a separate directory
-CONFIGURE_DIRS=		_build
-CMAKE_ARG_PATH=		..
 CMAKE_ARGS+=    -DCMAKE_INSTALL_LIBDIR=lib
 
-pre-configure:
-	${RUN}${MKDIR} ${WRKSRC}/_build
-
 include ../../mk/sysdep/cmake.mk
 include ../../math/pinocchio/depend.mk
 include ../../wip/eigen-quadprog/depend.mk