Changeset af63ee2 for common/libs/func_install_blfs
- Timestamp:
- 01/01/2014 09:49:25 AM (10 years ago)
- Branches:
- ablfs
- Parents:
- f5337a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_install_blfs
rf5337a9 raf63ee2 64 64 LINE_TIDY='#CONFIG_html-tidy is not set' 65 65 fi 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 71 72 if [ "$DEP_LYNX" = y ]; then 72 73 LINE_LYNX='CONFIG_lynx=y' … … 110 111 $LINE_LIBXSLT 111 112 $LINE_TIDY 112 $LINE_DBXML113 113 $LINE_OPENSSL 114 114 $LINE_WGET … … 147 147 148 148 # Suppresses unneeded parts of the scriptlets 149 if [ "$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$@{ 158 n 159 :a 160 \@/etc/xml/catalog$@bb 161 N 162 ba 163 :b 164 d}' \ 165 $BUILDDIR$BLFS_ROOT/scripts/*docbook-xsl 166 fi 149 167 if [ "$DEP_SUDO" = y ]; then 150 sed -i '/ pam.d/i mkdir -p /etc/pam.d' $BUILDDIR$BLFS_ROOT/scripts/*sudo168 sed -i '/cat.*pam.d/i mkdir -p /etc/pam.d' $BUILDDIR$BLFS_ROOT/scripts/*sudo 151 169 fi 152 170 if [ "$DEP_SVN" = y ]; then … … 164 182 pushd $BUILDDIR$BLFS_ROOT/work 165 183 ../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 166 187 sed -i -e '/xsltproc/,+6d' \ 167 188 -e '/^all/s@$@ update@' \
Note:
See TracChangeset
for help on using the changeset viewer.