git: 6af49e81ac54 - main - games/eduke32: update to 10343 and enable LTO on powerpc64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 10 Aug 2023 20:02:48 UTC
The branch main has been updated by pkubaj:

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

commit 6af49e81ac54a75e4810df0da595ec357c95c716
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-08-10 09:01:14 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-08-10 20:02:26 +0000

    games/eduke32: update to 10343 and enable LTO on powerpc64
---
 games/eduke32/Makefile | 9 ++++-----
 games/eduke32/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/games/eduke32/Makefile b/games/eduke32/Makefile
index 12fce376fd8b..dfb1aaeff63d 100644
--- a/games/eduke32/Makefile
+++ b/games/eduke32/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	eduke32
-PORTVERSION=	20221026
-PORTREVISION=	3
+PORTVERSION=	20230809
 CATEGORIES=	games
 MASTER_SITES=	http://dukeworld.com/eduke32/synthesis/${PORTVERSION}-${GITREVISION}/:eduke32 \
 		LOCAL/pkubaj/:erp \
@@ -35,11 +34,11 @@ USE_GL=		gl glu
 USE_GNOME=	gtk20
 USE_SDL=	sdl2 mixer2
 WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}-${GITREVISION}
-GITREVISION=	10165-a9c797dcb
+GITREVISION=	10343-847a51135
 DATADIR=	${PREFIX}/share/duke3d
 SUB_FILES=	pkg-message
 MAKEFILE=	GNUmakefile
-MAKE_ARGS=	CC=${CC} CXX=${CXX}
+MAKE_ARGS=	CC=${CC} CXX=${CXX} CLANG=1
 
 PLIST_FILES=	bin/eduke32 bin/mapster32
 PORTEXAMPLES=	*
@@ -71,7 +70,7 @@ FULL_PLIST_FILES=	${DATADIR}/duke3d.grp ${DATADIR}/duke.rts
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == riscv64
+.if ${ARCH} == i386 || ${ARCH} == riscv64
 MAKE_ARGS+=	LTO=0
 .endif
 
diff --git a/games/eduke32/distinfo b/games/eduke32/distinfo
index 5321e200c15a..5660a68ee3ea 100644
--- a/games/eduke32/distinfo
+++ b/games/eduke32/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1669267490
-SHA256 (eduke32_src_20221026-10165-a9c797dcb.tar.xz) = f31bc87be9153aed952190021e2b34e2dbf2ae5d4846bb74b58f03d389fa6635
-SIZE (eduke32_src_20221026-10165-a9c797dcb.tar.xz) = 17452524
+TIMESTAMP = 1691648841
+SHA256 (eduke32_src_20230809-10343-847a51135.tar.xz) = 5fa08d6db400a0500971cd2a8052cab97ed8e3e7212982dfd1402e1489825c80
+SIZE (eduke32_src_20230809-10343-847a51135.tar.xz) = 18712916
 SHA256 (duke-erp-210701.zip) = cb6b18ea8a3983b9b152574c049eae45f743411d8896dd7331542c266b6aff3e
 SIZE (duke-erp-210701.zip) = 193941871
 SHA256 (duke3d_xxx.zip) = c31713e6400a175a1bfa3bd369d132f8a8abce8915c113549f98262b9a84b534