aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-11-02 07:36:12 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-11-02 07:37:42 +0000
commit9a66d636265ee2833c33728b69e958b7a7b92396 (patch)
tree5515c9a5241afeb95d36596186df3825c98ff83b /archivers
parent6a54aed4b9ad7073be48ad37aecaa76c010726a1 (diff)
downloadports-9a66d636265ee2833c33728b69e958b7a7b92396.tar.gz
ports-9a66d636265ee2833c33728b69e958b7a7b92396.zip
archivers/p5-IO-Compress-Brotli: Update to 0.012
Diffstat (limited to 'archivers')
-rw-r--r--archivers/p5-IO-Compress-Brotli/Makefile2
-rw-r--r--archivers/p5-IO-Compress-Brotli/distinfo6
-rw-r--r--archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL14
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)
-'
-}