pkgsrc-Users archive

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

Re: mk.conf error from pkg_chk (Was: openjdk21 build errors)



Am 27.01.2025 um 16:05 schrieb Mayuresh:
>     # pkg_chk -Brnv
>     ARGV: -Brnv
>     Variable: MAKECONF = /etc/mk.conf
>     make: "/etc/mk.conf" line 31: Malformed conditional (${OPSYS} == NetBSD)

Since pkg_chk is a shell program, you can get an execution trace by running:

sh -x $(type -p pkg_chk) -Brnv

This will give you further insight to what is happening below the
surface. Looking at the pkg_chk source code, it should be easy to
follow, at least for the basic code structure.

Roland



Home | Main Index | Thread Index | Old Index