summaryrefslogtreecommitdiffstats
path: root/lib/compat/compat21/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-09-21 09:10:09 +0000
committerpeter <peter@FreeBSD.org>2001-09-21 09:10:09 +0000
commitc305ea1ee595497ab46c3455252f0c1c16a98869 (patch)
tree4c9c755d1b887f11e619020487a6e5074e0d51eb /lib/compat/compat21/Makefile
parenta9fda568865e417b5da861fbacc5f73d6fa0258b (diff)
downloadFreeBSD-src-c305ea1ee595497ab46c3455252f0c1c16a98869.zip
FreeBSD-src-c305ea1ee595497ab46c3455252f0c1c16a98869.tar.gz
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.
Diffstat (limited to 'lib/compat/compat21/Makefile')
-rw-r--r--lib/compat/compat21/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compat/compat21/Makefile b/lib/compat/compat21/Makefile
index 652bbb7..7d58eb3 100644
--- a/lib/compat/compat21/Makefile
+++ b/lib/compat/compat21/Makefile
@@ -18,6 +18,7 @@ beforeinstall:
${DESTDIR}/usr/libexec
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
${DESTDIR}${LIBCOMPATDIR}/aout
+ 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.
OpenPOWER on IntegriCloud