openbsd-ports/infrastructure/install/ldconfig-new.sed

9 lines
271 B
Sed

# $OpenBSD: ldconfig-new.sed,v 1.2 2000/07/01 17:16:48 form Exp $
#
s,^DYNLIBDIR(\(.*\))$,@exec /sbin/ldconfig -m \1\
@unexec /sbin/ldconfig -R,
#
# This needs an ldconfig with -U support
s,^NEWDYNLIBDIR(\(.*\))$,@exec /sbin/ldconfig -m \1\
@unexec /sbin/ldconfig -U \1,