git: 17c8fc74210c - main - x11-wm/river: respect CPUTYPE instead of host CPU

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 05 Jan 2022 06:57:30 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=17c8fc74210cbaf8a923e9ec4be6a0565ffca234

commit 17c8fc74210cbaf8a923e9ec4be6a0565ffca234
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:18 +0000

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

diff --git a/x11-wm/river/Makefile b/x11-wm/river/Makefile
index c6a97fdbb29f..b4c68064133e 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} \