mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
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.
This commit is contained in:
parent
7b9b9ee005
commit
cb7e0ef208
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user