git: 9a66d636265e - main - archivers/p5-IO-Compress-Brotli: Update to 0.012

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 02 Nov 2023 07:42:23 UTC
The branch main has been updated by sunpoet:

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

commit 9a66d636265ee2833c33728b69e958b7a7b92396
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-02 07:36:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-02 07:37:42 +0000

    archivers/p5-IO-Compress-Brotli: Update to 0.012
    
    Changes:        https://metacpan.org/dist/IO-Compress-Brotli/changes
---
 archivers/p5-IO-Compress-Brotli/Makefile                |  2 +-
 archivers/p5-IO-Compress-Brotli/distinfo                |  6 +++---
 archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL | 14 +++++++-------
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/archivers/p5-IO-Compress-Brotli/Makefile b/archivers/p5-IO-Compress-Brotli/Makefile
index 8bf5c710b14c..0f0b4d156f58 100644
--- a/archivers/p5-IO-Compress-Brotli/Makefile
+++ b/archivers/p5-IO-Compress-Brotli/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	IO-Compress-Brotli
-PORTVERSION=	0.007000
+PORTVERSION=	0.012000
 CATEGORIES=	archivers perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
diff --git a/archivers/p5-IO-Compress-Brotli/distinfo b/archivers/p5-IO-Compress-Brotli/distinfo
index 23d8c393106f..aad8b27de333 100644
--- a/archivers/p5-IO-Compress-Brotli/distinfo
+++ b/archivers/p5-IO-Compress-Brotli/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1698341291
-SHA256 (IO-Compress-Brotli-0.007.tar.gz) = 195fd7987e7074d8f9c324eea7599c316ccd9eeb1bc7ca13f7a951b78f9f35e0
-SIZE (IO-Compress-Brotli-0.007.tar.gz) = 7746650
+TIMESTAMP = 1698848862
+SHA256 (IO-Compress-Brotli-0.012.tar.gz) = 129ae07b4a812b58bed03edbd53e41a219d4663010012f8de027e78f02733cd4
+SIZE (IO-Compress-Brotli-0.012.tar.gz) = 7746561
diff --git a/archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL b/archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL
index b83584689037..2d94405bd8bf 100644
--- a/archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL
+++ b/archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL
@@ -1,13 +1,13 @@
---- Makefile.PL.orig	2023-10-25 00:42:06 UTC
+--- Makefile.PL.orig	2023-10-29 12:18:47 UTC
 +++ Makefile.PL
 @@ -1,6 +1,5 @@
  use 5.014000;
  use ExtUtils::MakeMaker;
 -use Alien::cmake3;
  use File::Spec::Functions qw/catfile/;
+ use Config;
  
- WriteMakefile(
-@@ -17,14 +16,6 @@ WriteMakefile(
+@@ -23,14 +22,6 @@ WriteMakefile(
  		'Getopt::Long'  => '0',
  		'Time::HiRes'   => '0',
  	},
@@ -18,11 +18,11 @@
 -		'Alien::cmake3' => '0',
 -	},
 -	INC              => '-Ibrotli/c/include',
--	MYEXTLIB         => 'brotli/libbrotlienc.so.1.1.0 brotli/libbrotlidec.so.1.1.0 brotli/libbrotlicommon.so.1.1.0',
- 	clean            => { FILES => 'brotli/Makefile brotli/libbrotlienc.so* brotli/libbrotlidec.so* brotli/libbrotlicommon.so* brotli/CMakeCache.txt brotli/CMakeFiles/* brotli/CTestTestfile.cmake brotli/DartConfiguration.tcl brotli/brotli brotli/cmake_install.cmake brotli/libbrotlicommon.pc brotli/libbrotlidec.pc brotli/libbrotlienc.pc' },
+-	MYEXTLIB         => 'brotli/libbrotlienc$(LIB_EXT) brotli/libbrotlidec$(LIB_EXT) brotli/libbrotlicommon$(LIB_EXT)',
+ 	clean            => { FILES => 'brotli/Makefile brotli/libbrotlienc$(LIB_EXT) brotli/libbrotlidec$(LIB_EXT) brotli/libbrotlicommon$(LIB_EXT) brotli/CMakeCache.txt brotli/CMakeFiles/* brotli/CTestTestfile.cmake brotli/DartConfiguration.tcl brotli/brotli brotli/cmake_install.cmake brotli/libbrotlicommon.pc brotli/libbrotlidec.pc brotli/libbrotlienc.pc' },
  	META_ADD         => {
  		dynamic_config => 0,
-@@ -33,12 +24,3 @@ WriteMakefile(
+@@ -39,12 +30,3 @@ WriteMakefile(
  		},
  	}
  );
@@ -32,6 +32,6 @@
 -    my $cmake = defined $dirs[0] ? catfile($dirs[0] , Alien::cmake3->exe) : Alien::cmake3->exe;
 -'
 -$(MYEXTLIB): brotli/CMakeLists.txt
--	cd brotli && ' . $cmake . ' -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./installed . && make
+-	cd brotli && "' . $cmake . '"' . $cmake_options . ' -DCMAKE_MAKE_PROGRAM=$(MAKE) -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./installed . && $(MAKE)
 -'
 -}