Magellan Linux

Diff of /trunk/core/tcl/tcl-8.6.0-r1.smage2

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

revision 14612 by niro, Tue Jan 1 15:27:58 2013 UTC revision 14613 by niro, Tue Jan 1 15:33:47 2013 UTC
# Line 58  src_install() Line 58  src_install()
58    
59   local V="$(echo ${PVER} | cut -d "." -f 1,2)"   local V="$(echo ${PVER} | cut -d "." -f 1,2)"
60    
  # removes the reference to the build directory  
  # and replace them by saner system wide locations  
  sed -i "s:${SRCDIR}/unix:/usr/$(mlibdir):" tclConfig.sh || die  
  sed -i "s:${SRCDIR}:/usr/include/tcl${V}:" tclConfig.sh || die  
  sed -i "s,^TCL_LIB_FILE='libtcl${V}..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," tclConfig.sh || die  
   
61   # fixes a small doc issue cause Thread.3 maybe used by other packages   # fixes a small doc issue cause Thread.3 maybe used by other packages
62  # mv ../doc/{,Tcl_}Thread.3 || die  # mv ../doc/{,Tcl_}Thread.3 || die
63  # sed -i 's/ Thread.3/ Tcl_Thread.3/' mkLinks || die  # sed -i 's/ Thread.3/ Tcl_Thread.3/' mkLinks || die
# Line 73  src_install() Line 67  src_install()
67   MAN_INSTALL_DIR=${BINDIR}/usr/share/man \   MAN_INSTALL_DIR=${BINDIR}/usr/share/man \
68   install || die   install || die
69    
70     # removes the reference to the build directory
71     # and replace them by saner system wide locations
72     sed -i "s:${SRCDIR}/unix:/usr/$(mlibdir):" ${BINDIR}/usr/$(mlibdir)/tclConfig.sh || die
73     sed -i "s:${SRCDIR}:/usr/include/tcl${V}:" ${BINDIR}/usr/$(mlibdir)/tclConfig.sh || die
74     sed -i "s,^TCL_LIB_FILE='libtcl${V}..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," ${BINDIR}/usr/$(mlibdir)/tclConfig.sh || die
75    
76   # installs the internal headers into a system-wide location.   # installs the internal headers into a system-wide location.
77   minstalldir /usr/include/tcl${V}/unix || die   minstalldir /usr/include/tcl${V}/unix || die
78   minstallfile \*.h /usr/include/tcl${V}/unix/ || die   minstallfile \*.h /usr/include/tcl${V}/unix/ || die

Legend:
Removed from v.14612  
changed lines
  Added in v.14613