git: 6ad2e7d70823 - main - graphics/p5-GD: Update to 2.76

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Apr 2022 00:05:05 UTC
The branch main has been updated by sunpoet:

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

commit 6ad2e7d708236539410bc461c30d4705e058caa2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-17 23:47:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-17 23:58:59 +0000

    graphics/p5-GD: Update to 2.76
    
    Changes:        https://metacpan.org/dist/GD/changes
---
 graphics/p5-GD/Makefile                |  2 +-
 graphics/p5-GD/distinfo                |  6 +++---
 graphics/p5-GD/files/patch-Makefile.PL | 32 +++++++++++++++++++++-----------
 3 files changed, 25 insertions(+), 15 deletions(-)

diff --git a/graphics/p5-GD/Makefile b/graphics/p5-GD/Makefile
index 285396810e6a..2200b54ff2dd 100644
--- a/graphics/p5-GD/Makefile
+++ b/graphics/p5-GD/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	GD
-PORTVERSION=	2.73
+PORTVERSION=	2.76
 CATEGORIES=	graphics perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
diff --git a/graphics/p5-GD/distinfo b/graphics/p5-GD/distinfo
index 00fd1c5cb265..3bd7d33ad734 100644
--- a/graphics/p5-GD/distinfo
+++ b/graphics/p5-GD/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1601754216
-SHA256 (GD-2.73.tar.gz) = 491c9e73238522e2987e66725a20935f4268a3864202ecbaf4659a1691ba322b
-SIZE (GD-2.73.tar.gz) = 261203
+TIMESTAMP = 1650229090
+SHA256 (GD-2.76.tar.gz) = 693d9e3d709e9188a682cb9090a77b70aac12a04e84128677577b94e4331775b
+SIZE (GD-2.76.tar.gz) = 264364
diff --git a/graphics/p5-GD/files/patch-Makefile.PL b/graphics/p5-GD/files/patch-Makefile.PL
index 4343f08b24bd..bacebe96ee42 100644
--- a/graphics/p5-GD/files/patch-Makefile.PL
+++ b/graphics/p5-GD/files/patch-Makefile.PL
@@ -1,7 +1,7 @@
---- Makefile.PL.orig	2017-04-23 12:06:14 UTC
+--- Makefile.PL.orig	2022-02-01 13:38:25 UTC
 +++ Makefile.PL
-@@ -20,20 +20,6 @@ my $AUTOCONFIG = 0;      # global set by
- my ($options,$lib_gd_path,$lib_ft_path,$lib_png_path,$lib_jpeg_path,$lib_xpm_path,
+@@ -22,25 +22,6 @@ my ($options,$lib_gd_path,$lib_ft_path,$lib_png_path,$
+     $lib_tiff_path,$lib_webp_path,$lib_raqm_path,$lib_heif_path,$lib_avif_path,
      $lib_zlib_path,$lib_fontconfig_path,$force,$FCGI,$gdlib_config_path);
  
 -use Getopt::Long;
@@ -11,7 +11,12 @@
 -			"lib_ft_path=s"   => \$lib_ft_path,
 -			"lib_png_path=s"  => \$lib_png_path,
 -			"lib_jpeg_path=s" => \$lib_jpeg_path,
+-			"lib_tiff_path=s" => \$lib_tiff_path,
 -			"lib_xpm_path=s"  => \$lib_xpm_path,
+-			"lib_webp_path=s" => \$lib_webp_path,
+-			"lib_raqm_path=s" => \$lib_raqm_path,
+-			"lib_heif_path=s" => \$lib_heif_path,
+-			"lib_avif_path=s" => \$lib_avif_path,
 -			"lib_zlib_path=s" => \$lib_zlib_path,
 -                        "lib_fontconfig_path=s" => \$lib_fontconfig_path,
 -                        "gdlib_config_path=s" => \$gdlib_config_path,
@@ -21,10 +26,12 @@
  unless (try_to_autoconfigure() || $force) {
      die <<END;
  **UNRECOVERABLE ERROR**
-@@ -57,35 +43,6 @@ if (-d '/usr/lib64') {
+@@ -60,40 +41,6 @@ END
+ if (-d '/usr/lib64') {
+   my @libs64 = map {my $a = $_; $a=~ s/lib$/lib64/; $a} @LIBPATH;
    @LIBPATH = (@LIBPATH,@libs64);
- }
- 
+-}
+-
 -#############################################################################################
 -# Build options passed in to script to support reproducible builds via Makefiles
 -#############################################################################################
@@ -35,12 +42,17 @@
 -Configure GD module.
 -
 - Options:
--     --options       "JPEG,FT,PNG,GIF,XPM,ANIMGIF"   feature options, separated by commas
+-     --options       "JPEG,GD2,FT,PNG,WEBP,GIF,XPM,ANIMGIF"   feature options, separated by commas
 -     --lib_gd_path   path            path to libgd (/usr/lib)
 -     --lib_ft_path   path            path to Freetype library (/usr)
 -     --lib_png_path  path            path to libpng (/usr)
 -     --lib_jpeg_path path            path to libjpeg (/usr)
 -     --lib_xpm_path  path            path to libxpm (/usr)
+-     --lib_tiff_path  path           path to libtiff (/usr)
+-     --lib_webp_path  path           path to libwebp (/usr)
+-     --lib_raqm_path  path           path to libraqm (/usr)
+-     --lib_heif_path  path           path to libheif (/usr)
+-     --lib_avif_path  path           path to libavif (/usr)
 -     --lib_zlib_path path            path to libpng (/usr)
 -     --lib_fontconfig_path path      path to libfontconfig (/usr)
 -     --gdlib_config_path path        path to gdlib-config (/usr/bin)
@@ -52,8 +64,6 @@
 -(present in GD versions 2.0.27 or later).  Otherwise it will prompt for these
 -values interactively.
 -END
--}
--
+ }
+ 
  if( defined($options) )
- {
-     print "Included Features:          $options\n";