Changeset 9349479


Ignore:
Timestamp:
12/16/2005 04:42:49 PM (19 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Branches:
1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
e90c0c3
Parents:
e9dba98
Message:

No need to retain TCL's directory anymore, and a few typo fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs

    re9dba98 r9349479  
    323323      GROFFLEVEL=`grep "groff-patchlevel" $JHALFSDIR/packages | sed -e 's/groff-patchlevel //' -e 's/"//g'`
    324324
    325       # There is some entities that aren't valid package entities.
     325      # There are some entities that aren't valid packages.
    326326      if [ "$PKG" = "expect-lib" -o "$PKG" = "linux-dl" -o "$PKG" = "groff-patchlevel" ] ; then continue ; fi
    327327
     
    421421    i=`basename $file`
    422422
    423     # If no testsuites will be run, then TCL, Expect and DejaGNU isn't needed
     423    # If no testsuites will be run, then TCL, Expect and DejaGNU aren't needed
    424424    if [ "$TOOLCHAINTEST" = "0" ]; then
    425425      if [[ `_IS_ $i tcl` ]] || [[ `_IS_ $i expect` ]] || [[ `_IS_ $i dejagnu` ]] ; then
     
    480480    fi
    481481
    482     # Dump the path to the Binutils or TCL sources directory.
    483     if [[ `_IS_ $i binutils` ]] || [[ `_IS_ $i tcl` ]] ; then
     482    # Dump the path to the Binutils sources directory.
     483    if [[ `_IS_ $i binutils` ]] ; then
    484484(
    485485    cat << EOF
     
    494494        @echo "PKGDIR=\$(LFS)\$(SRC)/binutils-build" > envars && \\
    495495        echo "export PKGDIR" >> envars
    496 EOF
    497 ) >> $MKFILE.tmp
    498 
    499     # For the Expect build we need to set the TCLPATH envar.
    500     elif [[ `_IS_ $i expect` ]] ; then
    501 (
    502     cat << EOF
    503         echo "TCLPATH=\`cat sources-dir\`" >> envars && \\
    504         echo "export TCLPATH" >> envars
    505496EOF
    506497) >> $MKFILE.tmp
     
    526517
    527518    # Remove the build directory(ies) except if the package build fails
    528     # (to can review config.cache, config.log, and like.)
    529     # For Binutils and TCL the sources must be retained some time.
     519    # (so we can review config.cache, config.log, etc.)
     520    # For Binutils the sources must be retained for some time.
    530521    if [ "$vrs" != "" ] ; then
    531       if [[ ! `_IS_ $i binutils` ]] && [[ ! `_IS_ $i tcl` ]] ; then
     522      if [[ ! `_IS_ $i binutils` ]] ; then
    532523(
    533524    cat << EOF
     
    548539        @rm -r \`cat sources-dir\` && \\
    549540        rm -r \$(LFS)\$(SRC)/binutils-build && \\
    550         rm sources-dir
    551 EOF
    552 ) >> $MKFILE.tmp
    553     fi
    554 
    555     # Remove the TCL sources after a successful Expect build.
    556     if [[ `_IS_ $i expect` ]] ; then
    557 (
    558     cat << EOF
    559         @rm -r \`cat sources-dir\` && \\
    560541        rm sources-dir
    561542EOF
Note: See TracChangeset for help on using the changeset viewer.