From owner-dev-commits-ports-main@freebsd.org Fri Aug 6 14:09:58 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 35466657792; Fri, 6 Aug 2021 14:09:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gh6n20sVmz4f1D; Fri, 6 Aug 2021 14:09:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F187970A6; Fri, 6 Aug 2021 14:09:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 176E9vQW017172; Fri, 6 Aug 2021 14:09:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 176E9vW1017171; Fri, 6 Aug 2021 14:09:57 GMT (envelope-from git) Date: Fri, 6 Aug 2021 14:09:57 GMT Message-Id: <202108061409.176E9vW1017171@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Tobias C. Berner" Subject: git: b9155596ccbf - main - games/duel: prepare for freetype2 update MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b9155596ccbfe4bd36dc4407df415687dc342390 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2021 14:09:58 -0000 The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=b9155596ccbfe4bd36dc4407df415687dc342390 commit b9155596ccbfe4bd36dc4407df415687dc342390 Author: Tobias C. Berner AuthorDate: 2021-08-06 13:23:06 +0000 Commit: Tobias C. Berner 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}