[Erp5-report] r36071 luke - /erp5/trunk/buildout/helpers/mandriva2010.0.sh

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 8 09:49:37 CEST 2010


Author: luke
Date: Tue Jun  8 09:49:36 2010
New Revision: 36071

URL: http://svn.erp5.org?rev=36071&view=rev
Log:
 - add a way to avoid mandriva issues with packages

Modified:
    erp5/trunk/buildout/helpers/mandriva2010.0.sh

Modified: erp5/trunk/buildout/helpers/mandriva2010.0.sh
URL: http://svn.erp5.org/erp5/trunk/buildout/helpers/mandriva2010.0.sh?rev=36071&r1=36070&r2=36071&view=diff
==============================================================================
--- erp5/trunk/buildout/helpers/mandriva2010.0.sh [utf8] (original)
+++ erp5/trunk/buildout/helpers/mandriva2010.0.sh [utf8] Tue Jun  8 09:49:36 2010
@@ -12,7 +12,16 @@
    -h  shows this message
    -l  lists the required dependencies\
 """
+# Avoid some mandriva bugs, when package with canonical name libXXX
+# is wrongly only 32 bit
+if [ `uname -m` == "x86_64" ] ; then # XXX: Is it compilant way to fetch arch?
+  libs="lib64ungif4-devel"
+else
+  libs="libungif4-devel"
+fi
+
 PACKAGE_LIST="""\
+${libs}
 automake
 bison
 cpio
@@ -36,7 +45,6 @@
 libreadline-devel
 libsasl2-devel
 libtermcap-devel
-libungif4-devel
 libxml2-devel
 libxslt-devel
 make




More information about the Erp5-report mailing list