From 5462e4738f344b52041a517ae57e8d025b787bd6 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Fri, 15 Apr 2011 10:21:25 +0000
Subject: [PATCH] we need to invoke autogen.sh because it is development
 tarball.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45490 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/software-profiles/mysql-tritonn-5.0.cfg | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/buildout/software-profiles/mysql-tritonn-5.0.cfg b/buildout/software-profiles/mysql-tritonn-5.0.cfg
index 425842bb94..8543281400 100644
--- a/buildout/software-profiles/mysql-tritonn-5.0.cfg
+++ b/buildout/software-profiles/mysql-tritonn-5.0.cfg
@@ -21,9 +21,19 @@ parts =
 recipe = hexagonit.recipe.cmmi
 url = http://www.nexedi.org/static/tarballs/senna/senna-r1311.tar.gz
 md5sum = 1cc51554789f81a9e5208da04a5c2f4c
+configure-command =
+  echo 'AC_CONFIG_MACRO_DIR([m4])' >> configure.ac
+  echo 'ACLOCAL_AMFLAGS = -I m4' >> Makefile.am
+  ACLOCAL_ARGS=-I${libtool:location}/share/aclocal ./autogen.sh
+  ./configure
 configure-options =
+  --prefix=${buildout:parts-directory}/${:_buildout_section_name_}
   --without-mecab
-  --enable-nfkc=no
+  --disable-glibtest
+make-options =
+  LIBTOOL=libtool
+environment =
+  PATH=${autoconf:location}/bin:${automake-1.11:location}/bin:${libtool:location}/bin:%(PATH)s
 
 [mysql-5.0-tritonn-patch]
 recipe = hexagonit.recipe.download
-- 
2.30.9