Tell user to add directory to rc.conf here, instead of doing that in

every port that needs it.
This commit is contained in:
espie 2000-12-16 23:25:36 +00:00
parent 78564b0e02
commit 79e5ed78ab

View File

@ -1,8 +1,10 @@
# $OpenBSD: ldconfig-new.sed,v 1.2 2000/07/01 17:16:48 form Exp $
# $OpenBSD: ldconfig-new.sed,v 1.3 2000/12/16 23:25:36 espie 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,
@exec echo "Remember to add \1 to shlib_dirs in /etc/rc.conf"\
@unexec /sbin/ldconfig -U \1\
@unexec echo "Remember to remove \1 from shlib_dirs in /etc/rc.conf",