Monday, November 25, 2024

Re: Upgrade lang/ghc to 9.8.3 - now with arm64

On Mon, 25 Nov 2024 17:56:49 -0800
Greg Steuck <gnezdo@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

No comments:

Post a Comment