On Mon, 25 Nov 2024 17:56:49 -0800
Greg Steuck <gne...@openbsd.org> wrote:

> I still need to figure out what to do about about PLIST as amd64 build
> of ghc insists on using x86_64 in pathnames. If somebody has a readymade
> example of dealing with this, I'll gladly copy that.

games/ioquake/Makefile has
        QUAKE_ARCH-amd64 =              x86_64
        QUAKE_ARCH-${MACHINE_ARCH} ?=   ${MACHINE_ARCH}
        SUBST_VARS +=                   QUAKE_ARCH

lang/ruby/Makefile.inc has
        SUB ?=          ${MACHINE_ARCH:S/amd64/x86_64/}-openbsd
        SUBST_VARS +=   SUB

Then the ${QUAKE_ARCH} or ${SUB} goes in PLIST.
--gkoehler

Reply via email to