diff --git a/component/groonga/buildout.cfg b/component/groonga/buildout.cfg
index 04eae33b1024c80aa3d169f879ebcc05009e344f..f17c952944845ef32dc938e4375c0422772dd1c3 100644
--- a/component/groonga/buildout.cfg
+++ b/component/groonga/buildout.cfg
@@ -34,6 +34,7 @@ configure-command =
   autoconf
   ./configure
 configure-options =
+  --prefix=${buildout:parts-directory}/${:_buildout_section_name_}
   --disable-static
   --disable-glibtest
   --without-mecab