From owner-dev-commits-ports-main@freebsd.org Sat Aug 7 09:32:18 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 06CBC667F2B; Sat, 7 Aug 2021 09:32:18 +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 4GhcZ96d7nz4vl9; Sat, 7 Aug 2021 09:32:17 +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 CBCE81EF06; Sat, 7 Aug 2021 09:32:17 +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 1779WHgR075397; Sat, 7 Aug 2021 09:32:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1779WHwd075396; Sat, 7 Aug 2021 09:32:17 GMT (envelope-from git) Date: Sat, 7 Aug 2021 09:32:17 GMT Message-Id: <202108070932.1779WHwd075396@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: 67750f700941 - main - print/p5-Font-FreeType: 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: 67750f70094193b7ff6f7d6d4a0d39a71ed0d1a8 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: Sat, 07 Aug 2021 09:32:18 -0000 The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=67750f70094193b7ff6f7d6d4a0d39a71ed0d1a8 commit 67750f70094193b7ff6f7d6d4a0d39a71ed0d1a8 Author: Tobias C. Berner AuthorDate: 2021-08-07 09:26:56 +0000 Commit: Tobias C. Berner CommitDate: 2021-08-07 09:32:05 +0000 print/p5-Font-FreeType: 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 --- print/p5-Font-FreeType/Makefile | 4 +++- print/p5-Font-FreeType/files/patch-Makefile.PL | 13 +++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/print/p5-Font-FreeType/Makefile b/print/p5-Font-FreeType/Makefile index 355d62ba2a82..b22817171b96 100644 --- a/print/p5-Font-FreeType/Makefile +++ b/print/p5-Font-FreeType/Makefile @@ -14,9 +14,11 @@ BUILD_DEPENDS= p5-Devel-CheckLib>=0:devel/p5-Devel-CheckLib \ LIB_DEPENDS= libfreetype.so:print/freetype2 TEST_DEPENDS= p5-Test-Warnings>=0:devel/p5-Test-Warnings -USES= perl5 +USES= perl5 pkgconfig USE_PERL5= configure +BINARY_ALIAS= freetype-config=true + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Font/FreeType/FreeType.so diff --git a/print/p5-Font-FreeType/files/patch-Makefile.PL b/print/p5-Font-FreeType/files/patch-Makefile.PL new file mode 100644 index 000000000000..8da51e775af9 --- /dev/null +++ b/print/p5-Font-FreeType/files/patch-Makefile.PL @@ -0,0 +1,13 @@ +--- Makefile.PL.orig 2021-08-07 09:25:46 UTC ++++ Makefile.PL +@@ -9,8 +9,8 @@ my $config; # store various configurations to check + + # use the pkg-config wrapper for FreeType + if( which('freetype-config') ) { +- chomp($config->{ft_config}{LIBS} = `freetype-config --libs`); +- chomp($config->{ft_config}{INC} = `freetype-config --cflags`); ++ chomp($config->{ft_config}{LIBS} = `pkg-config freetype2 --libs`); ++ chomp($config->{ft_config}{INC} = `pkg-config freetype2 --cflags`); + } + + # default configuration