Module Name:    src
Committed By:   rillig
Date:           Mon Dec  6 23:07:49 UTC 2021

Modified Files:
        src/external/lgpl3/gmp/lib/libgmp: Makefile

Log Message:
libgmp: fix unwarranted ignored error on 'make clean'

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


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/external/lgpl3/gmp/lib/libgmp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/lgpl3/gmp/lib/libgmp/Makefile
diff -u src/external/lgpl3/gmp/lib/libgmp/Makefile:1.30 src/external/lgpl3/gmp/lib/libgmp/Makefile:1.31
--- src/external/lgpl3/gmp/lib/libgmp/Makefile:1.30	Mon Dec  6 23:05:36 2021
+++ src/external/lgpl3/gmp/lib/libgmp/Makefile	Mon Dec  6 23:07:49 2021
@@ -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 @@ ${.OBJDIR}/config.m4: ${.CURDIR}/arch/${
 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}

Reply via email to