| #
e28ef5f6 |
| 24-Jun-2024 |
riastradh <riastradh@NetBSD.org> |
libcbor: Undo make dependencies `fix' and tidy up.
1. There is no need for ${ALLOBJS} to depend on cbor/configuration.h, because cbor/configuration.h is already installed by make includes long
libcbor: Undo make dependencies `fix' and tidy up.
1. There is no need for ${ALLOBJS} to depend on cbor/configuration.h, because cbor/configuration.h is already installed by make includes long before we get to make dependall, let alone make all.
2. Now that we don't use ${ALLOBJS} in a rule, put bsd.lib.mk at the end where it normally belongs.
3. Make the cbor/configuration.h recipe interruption-safe by writing to a temporary file first and then renaming it.
4. Nix needless empty .BEGIN rule. Pretty sure this doesn't do anything.
My previous hypothesis about why this could have happened ceased to make sense once I realized that cbor/configuration.h is supposed to be installed in /usr/include. I no longer have a hypothesis about how PR lib/58359 could have happened, unless perhaps the build had been previously interrupted, leaving an empty $DESTDIR/usr/include/cbor/configuration.h file.
show more ...
|