pkgsrc-Users archive

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

Re: archivers/lz4's Makefile varaible collision (OS_VERSION)



Am 31.01.2025 um 16:48 schrieb Timo Buhrmester:
> archivers/lz4 will produce (apparently inconsequential) errors while building such as:
>
> | gmake[1]: 10.1: No such file or directory
>
> this is due to their programs/Makefile doing this:
>
> OS_VERSION ?= $(UNAME) -r  # $(UNAME) is "uname"
> ifeq ($(TARGET_OS)$(shell $(OS_VERSION)),SunOS5.10)
> [...]
>
> i.e. trying to run uname -r, but we already get OS_VERSION="10.1" from the environment, so it ends up trying to run that string.

That part is removed by patches/patch-programs_Makefile, which was last
modified in July 2024.

Did you by any chance define a custom "do-patch" target in the package
Makefile?

In the work directory, there should be 3 .orig files, one for each of
the files in patches/.

Roland



Home | Main Index | Thread Index | Old Index