Changeset 5156f51 for BLFS/libs


Ignore:
Timestamp:
09/07/2022 01:51:45 PM (22 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
e181f75
Parents:
875366f
Message:

BLFS: remove only "a" lines for runtime deps

Presently, when the <node>groupxx file is created, we copy "a"
lines from <node> to <node>groupxx (changing "a" to "b") and
we remove all the lines containing the runtime dependency from
<node>. This may not always be what we want: for example, a
dependency can be both "required at runtime" and "optional for
tests". We should keep this information when cleaning the nodes.
Only when removing circular paths should the optional tie be broken
if necessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/func_dependencies

    r875366f r5156f51  
    400400  } <$node
    401401  for id_of_dep in $lines_to_remove; do
    402     sed "/\ $id_of_dep\$/d" -i $node
     402    sed "/a\ $id_of_dep\$/d" -i $node
    403403  done
    404404done
Note: See TracChangeset for help on using the changeset viewer.