Changeset 0e97a6a for CLFS2/master.sh


Ignore:
Timestamp:
08/08/2006 05:06:35 PM (18 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
experimental
Children:
bd52fd3
Parents:
623643e
Message:

CFLS2 fixes: groff and file are optional in the cross-tools phase. No need to build if recent version on the host

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLFS2/master.sh

    r623643e r0e97a6a  
    130130
    131131
    132 
    133132#-----------------------------#
    134133cross_tools_Makefiles() {     #
     
    141140    #
    142141    # Skip this script...
     142    # NOTE.. the book indicated you only needed to install groff or file if the host
     143    #   had older versions. The packages would be installed in the target directory
     144    #   and not the host.
    143145    case $this_script in
    144146      *cflags* | *variables* )  # work done in host_prep_Makefiles
    145          continue; ;;
     147        ;;
     148      *file ) FileVer=`file --version | head -n1 | cut -d " " -f1`
     149              [[ "$FileVer" = "file-4.17" ]] && continue
     150        ;;
     151      *groff) GroffVer=`groff --version | head -n1 | cut -d " " -f4`
     152              [[ "$GroffVer" = "1.19.2" ]] && continue
     153        ;;
    146154      *) ;;
    147155    esac
     156   
    148157    #
    149158    # Set the dependency for the first target.
Note: See TracChangeset for help on using the changeset viewer.