aboutsummaryrefslogtreecommitdiff
path: root/lib/compat/compat3x.i386
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-09-21 09:10:09 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-09-21 09:10:09 +0000
commit7a19c3499279dcfec06df7ade642256de557d70e (patch)
tree4c9c755d1b887f11e619020487a6e5074e0d51eb /lib/compat/compat3x.i386
parent9222e100d695ab96283741364ea4120d8997affe (diff)
downloadsrc-7a19c3499279dcfec06df7ade642256de557d70e.tar.gz
src-7a19c3499279dcfec06df7ade642256de557d70e.zip
Put on my peril-sensitive sunglasses. Remove any old libraries that
we have just installed a replacement for. This should solve the problem of having a stale /usr/lib/libc.so.4 after we put a fresh /usr/lib/compat/libc.so.4 in its place.
Notes
Notes: svn path=/head/; revision=83763
Diffstat (limited to 'lib/compat/compat3x.i386')
-rw-r--r--lib/compat/compat3x.i386/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compat/compat3x.i386/Makefile b/lib/compat/compat3x.i386/Makefile
index 425e93f39838..492a423d8f34 100644
--- a/lib/compat/compat3x.i386/Makefile
+++ b/lib/compat/compat3x.i386/Makefile
@@ -22,6 +22,7 @@ ${lib}: ${lib}.gz.uu
beforeinstall:
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
${DESTDIR}${LIBCOMPATDIR}
+ rm -f ${LIBS:S@^@${DESTDIR}${SHLIBDIR}/@}
# Get all the fruit, even though we don't set PROG.
# XXX bsd.lib.mk has fruitflies, e.g., it fails if LIBS is empty.