From 79e5ed78abe569fb6aa4dc0df56bbd6cfc1d5b20 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 16 Dec 2000 23:25:36 +0000 Subject: [PATCH] Tell user to add directory to rc.conf here, instead of doing that in every port that needs it. --- infrastructure/install/ldconfig-new.sed | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/infrastructure/install/ldconfig-new.sed b/infrastructure/install/ldconfig-new.sed index 30b405236be..73998563164 100644 --- a/infrastructure/install/ldconfig-new.sed +++ b/infrastructure/install/ldconfig-new.sed @@ -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",