Changeset 5f14bd3


Ignore:
Timestamp:
08/21/2006 06:42:52 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
2d0a2e5
Parents:
86f740c
Message:

Skip installed packages when processing dependencies instead of when generating the Makefile.
Fixed a bug when TARGET=xorg7

Location:
BLFS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BLFS/gen-makefile.sh

    r86f740c r5f14bd3  
    113113    this_script=`basename $package_script`
    114114    pkg_ver=$(grep "^${this_script#*-?-}[[:space:]]" ../packages | cut -f3)
    115     if [ ! -e $TRACKING_DIR/${this_script#*-?-}-$script_ver ]; then
    116       pkg_list="$pkg_list ${this_script}"
    117      __write_entry "${this_script}" "${pkg_ver}"
    118       PREV_PACKAGE=${this_script}
    119     fi
     115    pkg_list="$pkg_list ${this_script}"
     116    __write_entry "${this_script}" "${pkg_ver}"
     117    PREV_PACKAGE=${this_script}
    120118  done
    121119
  • BLFS/libs/func_dependencies

    r86f740c r5f14bd3  
    4747  #---------------------
    4848  # The BLFS sources directory.
    49   # Note: for book.xsl this value must be set via a sed in ./blfs.
    50   # For consistency, we should to do the same here.
    5149  BLFS_XML=`echo $PKGXML | sed -e 's,/.*,,'`
    5250
     
    110108  case $TARGET in
    111109    # If there is no usefull XML page, skip it.
    112     alsa | gnome-core | gnome-full | kde-core | kde-full | kde-koffice ) ;;
     110    alsa | gnome-core | gnome-full | kde-core | kde-full | kde-koffice | xorg7) ;;
    113111    * )
    114112      echo -e "    $ENTRY_START$PKGXML$ENTRY_END" >> $TARGET-index.xml.tmp
     
    156154  local saveIFS=$IFS
    157155  local DEP_LV=$DEP_LEVEL
    158   local line line2 DEP
     156  local line line2 DEP pkg_ver
     157  local TRACKING_DIR=/var/lib/jhalfs/BLFS
    159158
    160159  #------------------
     
    180179  > xincludes/$PKG.xinc.tmp
    181180  for DEP in `cat dependencies/$PKG.dep`; do
     181    # If DEP has been previouly installed, skip it
     182    pkg_ver=$(grep "^${DEP}[[:space:]]" ../packages | cut -f3)
     183    [ -e $TRACKING_DIR/${DEP}-$pkg_ver ] && continue
    182184    # Special packages (a lot of hacks)
    183185    case $DEP in
Note: See TracChangeset for help on using the changeset viewer.