pkgsrc-Users archive

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

Re: emulators/fbneo: fix building on aarch64 netbsd



On Mon, Feb 10, 2025 at 07:51:51PM +0000, adr wrote:
> ==================
> .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
> MAKE_FLAGS+=    LSB_FIRST=1
> TOOL_DEPENDS+=  nasm-[0-9]*:../../devel/nasm
> .endif
> ==================

How about splitting that into separate tests?

.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
TOOL_DEPENDS+=  nasm-[0-9]*:../../devel/nasm
.endif
.include "../../mk/endian.mk"
.if ${MACHINE_ENDIAN} == "little"
MAKE_FLAGS+=    LSB_FIRST=1
.endif


Martin


Home | Main Index | Thread Index | Old Index