mirror of https://git.FreeBSD.org/ports.git
games/quadra: fix build on 15-CURRENT
Link with -lutil to get ftime() which was moved there with recently. This is harmless on older FreeBSD. While we are at it, define LICENSE. Approved by: portmgr (build fix blanket, infrastructure blanket) MFH: 2024Q4
This commit is contained in:
parent
bec3162cc0
commit
f7b1e63b41
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= quadra
|
||||
PORTVERSION= 1.3.0
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://kbrandt.sdf-eu.org/FreeBSD/distfiles/ \
|
||||
ftp://ftp.bsdforen.de/pub/BSDForen/distfiles/ \
|
||||
|
@ -10,6 +10,9 @@ MAINTAINER= kbrandt@sdf-eu.org
|
|||
COMMENT= Tetris like game with multiplayer support
|
||||
WWW= https://code.google.com/p/quadra/
|
||||
|
||||
LICENSE= LGPL21
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libpng.so:graphics/png
|
||||
|
||||
USES= autoreconf gmake localbase sdl tar:bzip2 xorg
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# $Id: rules.mk 684 2008-12-20 07:14:57Z pphaneuf $
|
||||
|
||||
-source/quadra: LDLIBS+=$(SDL_LIBS) -lpng -lz
|
||||
+EXT_LIBS := -lcompat # needed in FBSD for the ftime function
|
||||
+EXT_LIBS := -lcompat -lutil # needed in FBSD for the ftime function
|
||||
+
|
||||
+source/quadra: LDLIBS+=$(SDL_LIBS) -lpng -lz $(EXT_LIBS)
|
||||
source/quadra: $(QUADRA_OBJECTS) $(SDL_MAIN_OBJ) skelton/lib/libugs_s.a
|
||||
|
|
Loading…
Reference in New Issue