git: b9155596ccbf - main - games/duel: prepare for freetype2 update

Tobias C. Berner tcberner at FreeBSD.org
Fri Aug 6 14:09:58 UTC 2021


The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b9155596ccbfe4bd36dc4407df415687dc342390

commit b9155596ccbfe4bd36dc4407df415687dc342390
Author:     Tobias C. Berner <tcberner at FreeBSD.org>
AuthorDate: 2021-08-06 13:23:06 +0000
Commit:     Tobias C. Berner <tcberner at 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}
 


More information about the dev-commits-ports-main mailing list