Date: Fri, 6 Aug 2021 14:09:57 GMT From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b9155596ccbf - main - games/duel: prepare for freetype2 update Message-ID: <202108061409.176E9vW1017171@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=b9155596ccbfe4bd36dc4407df415687dc342390 commit b9155596ccbfe4bd36dc4407df415687dc342390 Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2021-08-06 13:23:06 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2021-08-06 14:09:30 +0000 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 --- games/duel/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games/duel/Makefile b/games/duel/Makefile index 62deade77c9b..792da79e373f 100644 --- a/games/duel/Makefile +++ b/games/duel/Makefile @@ -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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108061409.176E9vW1017171>