git: ccbc5d789739 - 2023Q1 - x11-wm/river: respect WITH_PIE and STRIP (no WITH_DEBUG)

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 22 Jan 2023 14:13:24 UTC
The branch 2023Q1 has been updated by jbeich:

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

commit ccbc5d7897397d7d4f68f6a65ec7436c4eb2be76
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-01-22 13:54:36 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-01-22 14:13:02 +0000

    x11-wm/river: respect WITH_PIE and STRIP (no WITH_DEBUG)
    
    $ pkg info -s river
    -river-0.2.2_1                  3.88MiB
    +river-0.2.2_2                  534KiB
    
    https://github.com/riverwm/river/commit/3cb6428da6bc
    (cherry picked from commit 1406a61cc8134cf3a89b750f599c3f39f9833ad8)
---
 x11-wm/river/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/x11-wm/river/Makefile b/x11-wm/river/Makefile
index 87c47fe1867b..968c751167fb 100644
--- a/x11-wm/river/Makefile
+++ b/x11-wm/river/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	river
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.2.1
+PORTREVISION=	1
 CATEGORIES=	x11-wm wayland
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -31,6 +32,8 @@ 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} \
+		${WITH_PIE:D-Dpie} \
+		${STRIP:C/.+/-Dstrip/} \
 		-Dcpu=${CPUTYPE:Ubaseline} \
 		--verbose
 NO_INSTALL=	yes # strip(1) breaks runtime