Don't error out the build if removing a "stale" symlink fails.

Pointy hat for breaking my installworld:	nectar
This commit is contained in:
David E. O'Brien 2003-03-10 19:43:56 +00:00
parent d3c11994e1
commit 167cec7565
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112064

View File

@ -271,9 +271,9 @@ evp.h: ${LCRYPTO_SRC}/crypto/evp/evp.h
OLDSYMLINKS+= libdes.a libdes.so libdes.so.3 libdes_p.a
afterinstall:
@echo "Removing stale symlinks."
rm -f ${DESTDIR}${INCLUDEDIR}/des.h
-rm -f ${DESTDIR}${INCLUDEDIR}/des.h
.for symlink in ${OLDSYMLINKS}
rm -f ${DESTDIR}${LIBDIR}/${symlink}
-rm -f ${DESTDIR}${LIBDIR}/${symlink}
.endfor
.include <bsd.lib.mk>