Magellan Linux

Diff of /smage/trunk/core/libxml2/libxml2-2.7.7-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 847 by niro, Thu Oct 21 21:18:06 2010 UTC revision 848 by niro, Thu Oct 21 21:20:03 2010 UTC
# Line 11  DESCRIPTION="Libxml2 is the XML C parser Line 11  DESCRIPTION="Libxml2 is the XML C parser
11  HOMEPAGE="http://xmlsoft.org/"  HOMEPAGE="http://xmlsoft.org/"
12    
13  DEPEND=">= sys-libs/zlib-1.2.5"  DEPEND=">= sys-libs/zlib-1.2.5"
 SDEPEND=">= dev-lang/python-2.7"  
14    
15  SRCFILE="${PNAME}-${PVER}.tar.gz"  SRCFILE="${PNAME}-${PVER}.tar.gz"
16  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
# Line 27  UP2DATE="updatecmd ftp://xmlsoft.org/${P Line 26  UP2DATE="updatecmd ftp://xmlsoft.org/${P
26    
27  src_compile()  src_compile()
28  {  {
29   # build 32bit libs without python on multilib systems   mconfigure --with-zlib --without-python || die
  if [[ $(mlibdir) != lib ]]  
  then  
  only-m32 mconfigure --with-zlib --without-python || die  
  only-m64 mconfigure --with-zlib --with-python=/usr/bin/python$(get_python_version) || die  
  else  
  mconfigure --with-zlib --with-python=/usr/bin/python$(get_python_version) || die  
  fi  
30   mmake || die   mmake || die
31  }  }
32    

Legend:
Removed from v.847  
changed lines
  Added in v.848