Date: Mon, 26 Jun 2023 00:10:09 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: 1f66e6087a40 - main - games/gnuchess: Fix build with llvm16 Message-ID: <202306260010.35Q0A9ck094889@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=1f66e6087a40418bf8e82eddb27facee9c53dd0a commit 1f66e6087a40418bf8e82eddb27facee9c53dd0a Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-26 00:09:03 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-26 00:09:51 +0000 games/gnuchess: Fix build with llvm16 - Pet portclippy - Adopt port Sponsored by: The FreeBSD Foundation --- games/gnuchess/Makefile | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile index 21eb4a1964ba..b474e3209ef1 100644 --- a/games/gnuchess/Makefile +++ b/games/gnuchess/Makefile @@ -5,24 +5,29 @@ MASTER_SITES= GNU/chess # The DISTFILES here is explicitly needed because it can be extended later. DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Classic Gnu Chess WWW= https://savannah.gnu.org/projects/chess LICENSE= GPLv3+ +USES= cpe shebangfix +CPE_VENDOR= gnu +CPE_PRODUCT= chess + +SHEBANG_FILES= doc/quotes.rb + GNU_CONFIGURE= yes CONFIGURE_ENV= MKDIR_P="${MKDIR}" + INFO= gnuchess -USES= cpe shebangfix -SHEBANG_FILES= doc/quotes.rb -CPE_PRODUCT= chess -CPE_VENDOR= gnu OPTIONS_DEFINE= OPENING_BOOK DOCS NLS OPTIONS_DEFAULT= OPENING_BOOK OPTIONS_SUB= yes + OPENING_BOOK_DESC= Install opening book (25 MB download) + NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls @@ -33,6 +38,10 @@ DISTFILES+= book_1.02.pgn.gz EXTRACT_ONLY+= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Dregister= +.endif + post-build: .if ${PORT_OPTIONS:MOPENING_BOOK} zcat ${DISTDIR}/book_1.02.pgn.gz > ${WRKSRC}/src/book.pgn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306260010.35Q0A9ck094889>