diff --git a/laaswm-gui/Makefile b/laaswm-gui/Makefile
index 8dc8e5b59e671148e0b0eda51fe2d3e649d50c74..bb4e7593267d36ab0181990aadf50001f643f63d 100644
--- a/laaswm-gui/Makefile
+++ b/laaswm-gui/Makefile
@@ -5,7 +5,7 @@ DISTNAME=		laaswm-libs-${VERSION}
 CATEGORIES=	    graphics
 
 MASTER_SITES=	${MASTER_SITE_OPENROBOTS:=laaswm-libs/}
-MASTER_REPOSITORY=	git http://trac.laas.fr/git/robots/laaswm-libs.git
+MASTER_REPOSITORY=	${MASTER_REPOSITORY_OPENROBOTS}laaswm-libs.git
 LICENSE=	isc
 
 MAINTAINER=	openrobots@laas.fr
diff --git a/py-laaswm/Makefile b/py-laaswm/Makefile
index 6d1ca9a6eb67e3a6804843019a87db0bc8e3eeeb..a5112f445ca286da361e2ba38aa95feed3b48dfb 100644
--- a/py-laaswm/Makefile
+++ b/py-laaswm/Makefile
@@ -6,7 +6,7 @@ COMMENT=	    Python bindings to remotely control windows in laaswm
 CATEGORIES=	    graphics
 
 MASTER_SITES=	${MASTER_SITE_OPENROBOTS:=laaswm-libs/}
-MASTER_REPOSITORY=	git http://trac.laas.fr/git/robots/laaswm-libs.git
+MASTER_REPOSITORY=	${MASTER_REPOSITORY_OPENROBOTS}laaswm-libs.git
 LICENSE=	isc
 
 MAINTAINER=	openrobots@laas.fr