1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00

games/duel: prepare for freetype2 update

- freetype2 will no longer ship freetype-config (which was a pkg-config
  wrapper) in the near future -- use pkg-config to gather the required
  flags.

PR:		251512
This commit is contained in:
Tobias C. Berner 2021-08-06 15:23:06 +02:00
parent 197e928ffb
commit b9155596cc

View File

@ -16,11 +16,11 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libftgl.so:graphics/ftgl
USES= compiler:c++11-lang gl libtool sdl tar:bzip2
USES= compiler:c++11-lang gl libtool pkgconfig sdl tar:bzip2
USE_GL= gl
USE_SDL= sdl
GNU_CONFIGURE= yes
CPPFLAGS+= `${SDL_CONFIG} --cflags` `freetype-config --cflags` -I${LOCALBASE}/include -I${LOCALBASE}/include/FTGL
CPPFLAGS+= `${SDL_CONFIG} --cflags` `pkg-config freetype2 --cflags` -I${LOCALBASE}/include -I${LOCALBASE}/include/FTGL
LDFLAGS+= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}