Magellan Linux

Diff of /trunk/core/newt/newt-0.52.10-r1.smage2

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

revision 421 by niro, Thu Dec 25 01:14:54 2008 UTC revision 423 by niro, Thu Dec 25 01:32:11 2008 UTC
# Line 35  src_prepare() Line 35  src_prepare()
35   # fix libdir   # fix libdir
36   sed -i "s:\(libdir =\).*:\1 \$(prefix)/$(mlibdir):g" Makefile.in || die   sed -i "s:\(libdir =\).*:\1 \$(prefix)/$(mlibdir):g" Makefile.in || die
37    
38     # fix tcl version
39     sed -i "s:-ltcl[0-9].[0-9]:-ltcl$(readlink /usr/bin/tclsh | sed 's/tclsh//'):" Makefile.in || die
40    
41   # use DESTDIR instead of instroot   # use DESTDIR instead of instroot
42   sed -i 's:instroot:DESTDIR:g' ${SRCDIR}/Makefile.in || die   sed -i 's:instroot:DESTDIR:g' ${SRCDIR}/Makefile.in || die
43  }  }

Legend:
Removed from v.421  
changed lines
  Added in v.423