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 14613 by niro, Tue Jan 1 15:33:47 2013 UTC revision 14614 by niro, Tue Jan 1 15:41:15 2013 UTC
# Line 22  SRC_URI=( Line 22  SRC_URI=(
22   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
23   mirror://${PNAME}/${PNAME}-8.5.5-libdir.patch   mirror://${PNAME}/${PNAME}-8.5.5-libdir.patch
24   mirror://${PNAME}/${PNAME}-8.5.10-flags.patch   mirror://${PNAME}/${PNAME}-8.5.10-flags.patch
25     mirror://${PNAME}/${PNAME}-8.5.13-autopath.patch
26  )  )
27    
28  # no alphas or betas  # no alphas or betas
# Line 40  src_prepare() Line 41  src_prepare()
41    
42   # fix rpath and pic issues   # fix rpath and pic issues
43   mpatch ${PNAME}-8.5.10-flags.patch || die   mpatch ${PNAME}-8.5.10-flags.patch || die
44    
45     # fix library runtime detection with disabled rpath from the patch above
46     mpatch ${PNAME}-8.5.13-autopath.patch || die
47    
48   cd ${SRCDIR}/unix   cd ${SRCDIR}/unix
49   mautoreconf || die   mautoreconf || die
50  }  }
# Line 58  src_install() Line 63  src_install()
63    
64   local V="$(echo ${PVER} | cut -d "." -f 1,2)"   local V="$(echo ${PVER} | cut -d "." -f 1,2)"
65    
66     # removes the reference to the build directory
67     # and replace them by saner system wide locations
68     sed -i "s:${SRCDIR}/unix:/usr/$(mlibdir):" tclConfig.sh || die
69     sed -i "s:${SRCDIR}:/usr/include/tcl${V}:" tclConfig.sh || die
70     sed -i "s,^TCL_LIB_FILE='libtcl${V}..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," tclConfig.sh || die
71    
72   # 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
73  # mv ../doc/{,Tcl_}Thread.3 || die  # mv ../doc/{,Tcl_}Thread.3 || die
74  # sed -i 's/ Thread.3/ Tcl_Thread.3/' mkLinks || die  # sed -i 's/ Thread.3/ Tcl_Thread.3/' mkLinks || die
# Line 67  src_install() Line 78  src_install()
78   MAN_INSTALL_DIR=${BINDIR}/usr/share/man \   MAN_INSTALL_DIR=${BINDIR}/usr/share/man \
79   install || die   install || die
80    
  # removes the reference to the build directory  
  # and replace them by saner system wide locations  
  sed -i "s:${SRCDIR}/unix:/usr/$(mlibdir):" ${BINDIR}/usr/$(mlibdir)/tclConfig.sh || die  
  sed -i "s:${SRCDIR}:/usr/include/tcl${V}:" ${BINDIR}/usr/$(mlibdir)/tclConfig.sh || die  
  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  
   
81   # installs the internal headers into a system-wide location.   # installs the internal headers into a system-wide location.
82   minstalldir /usr/include/tcl${V}/unix || die   minstalldir /usr/include/tcl${V}/unix || die
83   minstallfile \*.h /usr/include/tcl${V}/unix/ || die   minstallfile \*.h /usr/include/tcl${V}/unix/ || die

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