From cabaab680c1456b0fb5a4331a3ab306965a881b4 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 3 Nov 2001 06:26:15 +0000 Subject: [PATCH] Dont fail if ${DESTDIR}${LIBDIR}/ or any of its components dont exist for the rm -f of libresolv.a --- lib/libresolv/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libresolv/Makefile b/lib/libresolv/Makefile index 118b7574a77a..42f19936398d 100644 --- a/lib/libresolv/Makefile +++ b/lib/libresolv/Makefile @@ -1,4 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 6/4/93 +# $FreeBSD$ LIB= resolv INTERNALLIB= yes # Do not build or install ${LIB}*.a @@ -22,7 +23,7 @@ NOPIC= true # libresolv on FreeBSD-2.x **never did anything**!! # beforeinstall: - rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a \ + -rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a \ ${DESTDIR}${LIBDIR}/lib${LIB}_p.a \ ${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ ${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \