Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/lgpl3/gmp/lib/libgmp libgmp: fix unwarranted ignore...



details:   https://anonhg.NetBSD.org/src/rev/1150d24b0d39
branches:  trunk
changeset: 1026779:1150d24b0d39
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Dec 06 23:07:49 2021 +0000

description:
libgmp: fix unwarranted ignored error on 'make clean'

rmdir: dummy: No such file or directory
*** Error code 1 (ignored)

diffstat:

 external/lgpl3/gmp/lib/libgmp/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4b67dd473e01 -r 1150d24b0d39 external/lgpl3/gmp/lib/libgmp/Makefile
--- a/external/lgpl3/gmp/lib/libgmp/Makefile    Mon Dec 06 23:05:36 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/Makefile    Mon Dec 06 23:07:49 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.30 2021/12/06 23:05:36 rillig Exp $
+#      $NetBSD: Makefile,v 1.31 2021/12/06 23:07:49 rillig Exp $
 
 .include <bsd.init.mk>
 
@@ -219,7 +219,7 @@
 CLEANFILES+=   config.m4
 clean: cleandummy
 cleandummy: .PHONY
-       -rmdir dummy
+       -if [ -d dummy ]; then rmdir dummy; fi
 
 BUILD_S_INCS=  -I${.CURDIR} -I${.OBJDIR}/dummy -I${DIST}/ -I${DIST}/mpn \
                -I${.OBJDIR}



Home | Main Index | Thread Index | Old Index