Ignore:
Timestamp:
01/01/2014 09:49:25 AM (10 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs
Parents:
f5337a9
Message:

Merge trunk r3767-3773

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_install_blfs

    rf5337a9 raf63ee2  
    6464  LINE_TIDY='#CONFIG_html-tidy is not set'
    6565fi
    66 if [ "$DEP_DBXML" = y ]; then
    67   LINE_DBXML='CONFIG_DocBook=y'
    68 else
    69   LINE_DBXML='#CONFIG_DocBook is not set'
    70 fi
     66# DocBook is a rec dep of libxslt
     67# if [ "$DEP_DBXML" = y ]; then
     68#   LINE_DBXML='CONFIG_DocBook=y'
     69# else
     70#   LINE_DBXML='#CONFIG_DocBook is not set'
     71# fi
    7172if [ "$DEP_LYNX" = y ]; then
    7273  LINE_LYNX='CONFIG_lynx=y'
     
    110111$LINE_LIBXSLT
    111112$LINE_TIDY
    112 $LINE_DBXML
    113113$LINE_OPENSSL
    114114$LINE_WGET
     
    147147
    148148# Suppresses unneeded parts of the scriptlets
     149if [ "$DEP_LIBXSLT" = y ]; then
     150  # libxslt pulls docbook-xsl in, which populates the catalog with annoying
     151  # **EDITME** references. Fortunately, those lines are regognizable because
     152  # they occur between lines containing '/etc/xml/catalog' at the end of the
     153  # line (without '&&'). I  have not found a simple way to delete lines
     154  # between 2 addresses, excluding either the first or the last one. So use
     155  # a loop for accumulating lines and deleting at the end.
     156  # Sorry for sed synthax.
     157  sed -i '\@^[[:space:]]*/etc/xml/catalog$@{
     158n
     159:a
     160\@/etc/xml/catalog$@bb
     161N
     162ba
     163:b
     164d}' \
     165      $BUILDDIR$BLFS_ROOT/scripts/*docbook-xsl
     166fi
    149167if [ "$DEP_SUDO" = y ]; then
    150   sed -i '/pam.d/i mkdir -p /etc/pam.d' $BUILDDIR$BLFS_ROOT/scripts/*sudo
     168  sed -i '/cat.*pam.d/i mkdir -p /etc/pam.d' $BUILDDIR$BLFS_ROOT/scripts/*sudo
    151169fi
    152170if [ "$DEP_SVN" = y ]; then
     
    164182pushd $BUILDDIR$BLFS_ROOT/work
    165183../gen-makefile.sh
     184# The generated Makefile updates the tracking file after each package
     185# installation, using libxslt, which is not installed yet. So move
     186# updating to the end of the process, adding an 'update' target
    166187sed -i -e '/xsltproc/,+6d' \
    167188       -e '/^all/s@$@ update@' \
Note: See TracChangeset for help on using the changeset viewer.