Magellan Linux

Diff of /branches/R11-unstable/extras/newt/newt-0.52.20-r2.smage2

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

revision 29018 by niro, Wed May 17 14:45:17 2017 UTC revision 29020 by niro, Wed May 17 14:47:58 2017 UTC
# Line 31  UP2DATE="updatecmd https://fedorahosted. Line 31  UP2DATE="updatecmd https://fedorahosted.
31  src_prepare()  src_prepare()
32  {  {
33   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
  cd ${SRCDIR}  
34    
35   # fix hardcoded tcl version and use DESTDIR   # fix hardcoded tcl version and use DESTDIR
36   sed -i -e "s:-ltcl8.4:-ltcl:g" -e "s:instroot:DESTDIR:g" Makefile.in || die   all-abis sed -i -e "s:-ltcl8.4:-ltcl:g" -e "s:instroot:DESTDIR:g" Makefile.in || die
37   echo '#define USE_INTERP_RESULT 1' >> config.h   all-abis echo '#define USE_INTERP_RESULT 1' >> config.h
38  }  }
39    
40  src_compile()  src_compile()
41  {  {
  cd ${SRCDIR}  
   
42   mconfigure --with-tcl || die   mconfigure --with-tcl || die
43   mmake || die   mmake || die
44  }  }
   
 src_install()  
 {  
  cd ${SRCDIR}  
   
  mmake DESTDIR=${BINDIR} install || die  
 }  

Legend:
Removed from v.29018  
changed lines
  Added in v.29020