diff options
author | Robert Clausecker <fuz@FreeBSD.org> | 2023-04-15 12:54:55 +0000 |
---|---|---|
committer | Robert Clausecker <fuz@FreeBSD.org> | 2023-04-17 09:27:25 +0000 |
commit | d8cf71d0d3a8e31a867b03aed7a72ca3907c75b7 (patch) | |
tree | bebf57e33fd95723deb495b5c9d3e4735d677429 /games | |
parent | 1092ffe19022aa17a164efc50b8b392d2a4e3f2e (diff) | |
download | ports-d8cf71d0d3a8e31a867b03aed7a72ca3907c75b7.tar.gz ports-d8cf71d0d3a8e31a867b03aed7a72ca3907c75b7.zip |
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.
Diffstat (limited to 'games')
-rw-r--r-- | games/xcheckers/Makefile | 9 |
1 files 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' \ |