Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2023 14:17:18 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f8962382274b - main - games/jigzo: Fix build with llvm16
Message-ID:  <202308021417.372EHIcP021491@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit f8962382274b38bade278616c7a543be82eb2ddd
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-02 13:59:21 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-02 14:16:43 +0000

    games/jigzo: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 games/jigzo/Makefile | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/games/jigzo/Makefile b/games/jigzo/Makefile
index ae44ac03823b..9822ec392d38 100644
--- a/games/jigzo/Makefile
+++ b/games/jigzo/Makefile
@@ -14,13 +14,11 @@ LICENSE_FILE=	${WRKSRC}/GPL.txt
 LIB_DEPENDS=	libpng.so:graphics/png
 
 USES=		gl gmake jpeg sdl tar:tgz
-USE_SDL=	sdl mixer
+USE_CXXSTD=	c++14
 USE_GL=		gl
-MAKE_ARGS=	CXX=${CXX}
+USE_SDL=	sdl mixer
 
-PLIST_FILES=	bin/${PORTNAME}
-PORTDATA=	*
-PORTDOCS=	*
+MAKE_ARGS=	CXX=${CXX}
 
 DESKTOP_ENTRIES="Jigzo" \
 		"An OpenGL jigsaw puzzle game" \
@@ -29,6 +27,10 @@ DESKTOP_ENTRIES="Jigzo" \
 		"Game;LogicGame;KidsGame;" \
 		false
 
+PLIST_FILES=	bin/${PORTNAME}
+PORTDATA=	*
+PORTDOCS=	*
+
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
@@ -44,6 +46,8 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
 	cd ${WRKSRC} && ${COPYTREE_SHARE} "font image puzzles sound" \
 		${STAGEDIR}${DATADIR}/
+
+do-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308021417.372EHIcP021491>