tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: new pkg_add library check breaks pkg_add -u
Ok, you win.
If people want to keep using broken packages: here's a patch to try.
It adds support for -f in in check_requires.
It's untested, and you get to keep all the pieces if anything breaks.
Thomas
Index: perform.c
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkg_install/files/add/perform.c,v
retrieving revision 1.126
diff -u -r1.126 perform.c
--- perform.c 1 Nov 2024 11:26:46 -0000 1.126
+++ perform.c 7 Dec 2024 13:22:49 -0000
@@ -1164,6 +1164,10 @@
}
}
+ if (ret == 1 && Force) {
+ warnx("Required libraries are missing, but installation forced to "
+ "continue");
+ }
return ret;
}
Home |
Main Index |
Thread Index |
Old Index