Skip to content

Commit

Permalink
games/xshisen: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Remove deprecated @exec/@unexec
- Add missing dependencies reported by poudriere testport
- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 6, 2023
1 parent dbbfc37 commit 293fce8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion games/xshisen/Makefile
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions games/xshisen/pkg-plist
Expand Up @@ -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

0 comments on commit 293fce8

Please sign in to comment.