diff --git a/py-dynamic-graph-v3/Makefile b/py-dynamic-graph-v3/Makefile
index a569dc0713683d2ae3af1cea69a9335a374f397c..fbb534acbdcaafbbd5be92a347ed04222322578d 100644
--- a/py-dynamic-graph-v3/Makefile
+++ b/py-dynamic-graph-v3/Makefile
@@ -6,13 +6,8 @@ ORG=			stack-of-tasks
 NAME=			dynamic-graph-python
 VERSION=		3.3.2
 
-DISTNAME=		${NAME}-${VERSION}
 PKGNAME=		${PKGTAG.python-}dynamic-graph-v3-${VERSION}
 
-MASTER_SITES=		${MASTER_SITE_OPENROBOTS:=${NAME}/}
-MASTER_REPOSITORY=	${MASTER_REPOSITORY_GITHUB}${ORG}/${NAME}
-CHECKOUT_VCS_OPTS+=	--recursive
-
 CATEGORIES=		wip
 COMMENT=		Efficient data-flow C++ library for robotics (python bindings)
 LICENSE=		2-clause-bsd
@@ -21,11 +16,9 @@ MAINTAINER=		gepetto-soft@laas.fr
 CONFLICTS+=		py[0-9][0-9]-${NAME}
 CONFLICTS+=		py[0-9][0-9]-${NAME}-v3  # there is stuff not in ${PYTHON_SITELIB}
 
-CMAKE_ARGS+=		-DCMAKE_INSTALL_LIBDIR=lib
-CMAKE_ARGS+=		-DCXX_DISABLE_WERROR=yes
-
-DYNAMIC_PLIST_DIRS+=	share/doc/${NAME}
+DEPEND_ABI.python+=	python<3
 
+include ../../wip/jrl-cmakemodules/Makefile.common
 include ../../wip/dynamic-graph-v3/depend.mk
 include ../../math/eigen3/depend.mk
 include ../../pkgtools/pkg-config/depend.mk