Lines of
ldconfig.init
from check-in 5062c9b6fc
that are changed by the sequence of edits moving toward
check-in 8f80b79392:
1: # vim:ft=make:
2:
3: LDCONFIG_PATHS?=/lib /usr/lib /usr/local/lib /usr/pkg/lib
4: LDCONFIG_LOCAL_DIRS?=/usr/local/libdata/ldconfig
5:
6: .for ldc in ${LDCONFIG_PATHS} /etc/ld-elf.so.conf
7: .if exists(${ldc})
8: ldc+=${ldc}
9: .endif
10: .endfor
11:
5062c9b6fc 2019-10-19 12: .for dir in ${LDCONFIG_PATH_DIRS}
13: .if exists(${dir})
14: ldc+=${:!find ${dir} -type f!}
15: .endif
16: .endfor
17:
18: ldconfig: mountlate
19: : Initializing ldconfig.
20: ldconfig -elf ${ldc}