git: 293fce821d41 - main - games/xshisen: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Aug 2023 12:30:55 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=293fce821d4106514634d49e0c555b0f97bac202 commit 293fce821d4106514634d49e0c555b0f97bac202 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-06 12:29:35 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-06 12:30:37 +0000 games/xshisen: Fix build with llvm16 - Remove deprecated @exec/@unexec - Add missing dependencies reported by poudriere testport - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/xshisen/Makefile | 5 ++++- games/xshisen/pkg-plist | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/games/xshisen/Makefile b/games/xshisen/Makefile index c7f0b926e48c..9900c1696c28 100644 --- a/games/xshisen/Makefile +++ b/games/xshisen/Makefile @@ -11,9 +11,12 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe xorg -USE_XORG= xpm +USE_CXXSTD= c++14 +USE_XORG= ice sm x11 xmu xpm xt + GNU_CONFIGURE= yes CONFIGURE_ARGS= --sharedstatedir="${DATADIR}" + INSTALL_TARGET= install-prog OPTIONS_DEFINE= MOTIF diff --git a/games/xshisen/pkg-plist b/games/xshisen/pkg-plist index 0d7449818080..b19bd9820ccb 100644 --- a/games/xshisen/pkg-plist +++ b/games/xshisen/pkg-plist @@ -76,5 +76,4 @@ lib/X11/ja_JP.eucJP/app-defaults/XShisen @(,games,0660) %%DATADIR%%/xshisen.scores man/man6/xshisen.6.gz man/ja/man6/xshisen.6.gz -@exec [ -d %D/lib/X11/ja_JP.EUC/ -a -d %D/lib/X11/ja_JP.EUC/app-defaults ] && ln -s %D/lib/X11/ja_JP.eucJP/app-defaults/XShisen %D/lib/X11/ja_JP.EUC/app-defaults || true -@unexec rm %D/lib/X11/ja_JP.EUC/app-defaults/XShisen 2>/dev/null || true +@preexec [ -d %D/lib/X11/ja_JP.EUC/ -a -d %D/lib/X11/ja_JP.EUC/app-defaults ] && ln -s %D/lib/X11/ja_JP.eucJP/app-defaults/XShisen %D/lib/X11/ja_JP.EUC/app-defaults || true