From cb7e0ef208e9808e4910e9133fde733947c1381f Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Thu, 13 Apr 2023 10:53:15 +0200 Subject: [PATCH] games/nInvaders: work around duplicate symbol issue Supply -fcommon to enable a build with recent LLVM. This fixes the build on FreeBSD 13+. While we are at it, define LICENSE. --- games/nInvaders/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/games/nInvaders/Makefile b/games/nInvaders/Makefile index 46c19d9bb458..64e413487c29 100644 --- a/games/nInvaders/Makefile +++ b/games/nInvaders/Makefile @@ -1,5 +1,6 @@ PORTNAME= nInvaders -PORTVERSION= 0.1.1 +DISTVERSION= 0.1.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF DISTNAME= ninvaders-${PORTVERSION} @@ -8,10 +9,11 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Space Invaders clone for ncurses WWW= http://ninvaders.sourceforge.net/ -BROKEN_FreeBSD_13= ld: error: duplicate symbol: alienBlock -BROKEN_FreeBSD_14= ld: error: duplicate symbol: alienBlock +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/gpl.txt USES= ncurses +CFLAGS+= -fcommon OPTIONS_DEFINE= DOCS