git: 9f0f032b1f0d - main - games/joequake: work around duplicate symbol issues
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Apr 2023 14:17:56 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=9f0f032b1f0dd9fc2013b6742061b4e2e31c51cc commit 9f0f032b1f0dd9fc2013b6742061b4e2e31c51cc Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-04-13 00:50:31 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-04-14 14:16:07 +0000 games/joequake: work around duplicate symbol issues Supply -fcommon to enable a build with recent clang. This fixes the build on FreeBSD 13+. --- games/joequake/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/games/joequake/Makefile b/games/joequake/Makefile index 0990f58dee6d..e7a62c5b3590 100644 --- a/games/joequake/Makefile +++ b/games/joequake/Makefile @@ -1,6 +1,6 @@ PORTNAME= joequake PORTVERSION= 0.15b1329 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games MASTER_SITES= http://joequake.runecentral.com/ DISTNAME= ${PORTNAME}-v${PORTVERSION}-source @@ -14,17 +14,14 @@ WWW= http://runecentral.com/joequake/ LICENSE= GPLv2+ -BROKEN_FreeBSD_13= ld: error: duplicate symbol: com_searchpaths -BROKEN_FreeBSD_14= ld: error: duplicate symbol: com_searchpaths - LIB_DEPENDS= libpng.so:graphics/png -WRKSRC= ${WRKDIR}/src - USES= gmake zip USE_CSTD= gnu89 MAKEFILE= Makefile.linux +CFLAGS+= -fcommon +WRKSRC= ${WRKDIR}/src OPTIONS_MULTI= UI OPTIONS_MULTI_UI= OPENGL X11