Index | Thread | Search

From:
George Koehler <kernigh@gmail.com>
Subject:
Re: Upgrade lang/ghc to 9.8.3 - now with arm64
To:
Greg Steuck <gnezdo@openbsd.org>
Cc:
kili@openbsd.org, ports@openbsd.org
Date:
Mon, 25 Nov 2024 23:52:01 -0500

Download raw body.

Thread
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