Package: petsc / 3.22.5+dfsg1-2

clean-no-double-colon.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Remove double-colon from clean target which causes breakage in reverse-depends.

Index: petsc/lib/petsc/conf/rules
===================================================================
--- petsc.orig/lib/petsc/conf/rules	2024-11-26 00:35:43.907728709 +0100
+++ petsc/lib/petsc/conf/rules	2024-11-26 00:35:43.899728629 +0100
@@ -34,7 +34,7 @@
               *.class *.ouit *.ad.* g_* silly.cmp *.tmp.* *.ilk *.pdb *.inst.c *.rej *.gcda *.gcno
 	@-${RM} -rf ${CLEANDIRS} *.dSYM AD_cache SunWS_cache
 
-clean:: clean-legacy
+clean: clean-legacy
 
 #
 #  These rules are for compiling the test examples.
Index: petsc/makefile
===================================================================
--- petsc.orig/makefile	2024-11-26 00:35:43.907728709 +0100
+++ petsc/makefile	2024-11-26 00:35:43.899728629 +0100
@@ -288,7 +288,7 @@
 allclean:
 	-@${OMAKE} -f gmakefile clean
 
-clean:: allclean
+clean: allclean
 
 distclean:
 	@if [ -f ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/reconfigure-${PETSC_ARCH}.py ]; then \