diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-06 12:29:35 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-06 12:30:37 +0000 |
commit | 293fce821d4106514634d49e0c555b0f97bac202 (patch) | |
tree | 414d7880705cc942fffc327197c3bb0f34229d43 | |
parent | dbbfc37894ff8ee9023477d3d74bbbb907e44bb5 (diff) | |
download | ports-293fce821d4106514634d49e0c555b0f97bac202.tar.gz ports-293fce821d4106514634d49e0c555b0f97bac202.zip |
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
-rw-r--r-- | games/xshisen/Makefile | 5 | ||||
-rw-r--r-- | 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 |