git: 18f16946c41a - 2022Q1 - x11-wm/river: respect CPUTYPE instead of host CPU

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 05 Jan 2022 06:58:02 UTC
The branch 2022Q1 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18f16946c41a97c648046091414586dce4edccc3

commit 18f16946c41a97c648046091414586dce4edccc3
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-05 06:46:49 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-05 06:57:50 +0000

    x11-wm/river: respect CPUTYPE instead of host CPU
    
    https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27227#note_191521
    (cherry picked from commit 17c8fc74210cbaf8a923e9ec4be6a0565ffca234)
---
 x11-wm/river/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x11-wm/river/Makefile b/x11-wm/river/Makefile
index 012f082c89ef..eedbfd7d2f07 100644
--- a/x11-wm/river/Makefile
+++ b/x11-wm/river/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	river
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.1.2
+PORTREVISION=	1
 CATEGORIES=	x11-wm
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -30,6 +31,7 @@ GH_TUPLE=	ifreund:zig-pixman:d381567:zig_pixman/deps/zig-pixman \
 MAKE_ENV=	DESTDIR="${STAGEDIR}"
 CONFIGURE_ARGS=	--prefix "${PREFIX}" \
 		${WITH_DEBUG:D:U-Drelease-fast} \
+		-Dcpu=${CPUTYPE:Ubaseline} \
 		--verbose
 NO_INSTALL=	yes # strip(1) breaks runtime
 PLIST_FILES=	bin/${PORTNAME} \