diff options
author | Robert Clausecker <fuz@FreeBSD.org> | 2023-04-13 08:53:15 +0000 |
---|---|---|
committer | Robert Clausecker <fuz@FreeBSD.org> | 2023-04-14 14:16:08 +0000 |
commit | cb7e0ef208e9808e4910e9133fde733947c1381f (patch) | |
tree | 8d17c4d13d40780e156beafd87b962e268d82d0d | |
parent | 7b9b9ee0055ffbc4c9ae406d1c159d8a09e77124 (diff) | |
download | ports-cb7e0ef208e9808e4910e9133fde733947c1381f.tar.gz ports-cb7e0ef208e9808e4910e9133fde733947c1381f.zip |
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.
-rw-r--r-- | games/nInvaders/Makefile | 8 |
1 files 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 |