Date: Mon, 17 Apr 2023 09:30:27 GMT From: Robert Clausecker <fuz@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d8cf71d0d3a8 - main - games/xcheckers: work around duplicate symbol issues Message-ID: <202304170930.33H9URSF051469@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=d8cf71d0d3a8e31a867b03aed7a72ca3907c75b7 commit d8cf71d0d3a8e31a867b03aed7a72ca3907c75b7 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-04-15 12:54:55 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-04-17 09:27:25 +0000 games/xcheckers: work around duplicate symbol issues - Supply CFLAGS=-fcommon to enable a build on recent gcc and clang. This fixes the build on FreeBSD 13+. - Define LICENSE. - Remove no-op post-patch REINPLACE_CMD. --- games/xcheckers/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/games/xcheckers/Makefile b/games/xcheckers/Makefile index b6ec87e23f2e..069540dd24e0 100644 --- a/games/xcheckers/Makefile +++ b/games/xcheckers/Makefile @@ -1,6 +1,6 @@ PORTNAME= xcheckers PORTVERSION= 2.2.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://arton.cunst.net/xcheckers/ @@ -8,14 +8,13 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Checkers game for X11 WWW= https://arton.cunst.net/xcheckers/index.html -BROKEN_FreeBSD_13= duplicate symbol: board -BROKEN_FreeBSD_14= duplicate symbol: board +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING USES= imake xorg USE_XORG= x11 xext xpm -post-patch: - @${REINPLACE_CMD} '/^#/d' ${WRKSRC}/Local.config +CFLAGS+= -fcommon pre-install: @${REINPLACE_CMD} 's:@LOCALBASE@:${LOCALBASE}:g' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304170930.33H9URSF051469>