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 02:43:08PM +0000, David Brownlee wrote:
> Would you be able to send me the relevant section from your mk.conf -

By relevant I suppose you mean what the error is referring to.

    .if ${OPSYS} == NetBSD
    CCACHE_BASE=            /usr/pbulk
    PKGSRC_COMPILER=        ccache gcc
    .else
    CCACHE_BASE=            /usr
    PKGSRC_COMPILER=        ccache gcc
    .endif


> Do you have MAKE set to anything in the environment?

No

    # echo $MAKE
    
    #

> The output of pkg_chk -Brnv may be useful (if likely too long to post to
> the list :)

    # pkg_chk -Brnv
    ARGV: -Brnv
    Variable: MAKECONF = /etc/mk.conf
    make: "/etc/mk.conf" line 31: Malformed conditional (${OPSYS} == NetBSD)
    make: Fatal errors encountered -- cannot continue
    eval: make:: not found



Home | Main Index | Thread Index | Old Index