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)



On Mon, Jan 27, 2025 at 06:28:57PM +0100, Roland Illig wrote:
> Since pkg_chk is a shell program, you can get an execution trace by running:

I ran it as:

    sh -xe /usr/pkg/sbin/pkg_chk -Brnv

I find this line intriguing:

 190         eval $(printf "BSD_PKG_MK=1\n.PHONY: x\nx:\n\t@echo $1="'$'"{$1}\n" | ${MAKE} -f - -f $MAKECONF x)


Can MAKECONF=/etc/mk.conf, be passed with '-f'?

If I do so, it is complaining:
    Malformed conditional (${OPSYS} == NetBSD)

But this construct otherwise works for me when using pkgsrc.

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index