diff --git a/archivers/p5-IO-Compress-Brotli/Makefile b/archivers/p5-IO-Compress-Brotli/Makefile index 0f0b4d156f58..77f02e743b67 100644 --- a/archivers/p5-IO-Compress-Brotli/Makefile +++ b/archivers/p5-IO-Compress-Brotli/Makefile @@ -1,24 +1,24 @@ PORTNAME= IO-Compress-Brotli -PORTVERSION= 0.012000 +PORTVERSION= 0.017000 CATEGORIES= archivers perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- DISTNAME= IO-Compress-Brotli-${PORTVERSION:C|000$||} MAINTAINER= perl@FreeBSD.org COMMENT= Perl implementation of Brotli WWW= https://metacpan.org/release/IO-Compress-Brotli LICENSE= MIT BUILD_DEPENDS= ${RUN_DEPENDS} LIB_DEPENDS= libbrotlicommon.so:archivers/brotli RUN_DEPENDS= p5-File-Slurper>0:devel/p5-File-Slurper USES= gmake localbase:ldflags perl5 USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/IO/Compress/Brotli/Brotli.so .include diff --git a/archivers/p5-IO-Compress-Brotli/distinfo b/archivers/p5-IO-Compress-Brotli/distinfo index aad8b27de333..2394b4ab33b5 100644 --- a/archivers/p5-IO-Compress-Brotli/distinfo +++ b/archivers/p5-IO-Compress-Brotli/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1698848862 -SHA256 (IO-Compress-Brotli-0.012.tar.gz) = 129ae07b4a812b58bed03edbd53e41a219d4663010012f8de027e78f02733cd4 -SIZE (IO-Compress-Brotli-0.012.tar.gz) = 7746561 +TIMESTAMP = 1712644686 +SHA256 (IO-Compress-Brotli-0.017.tar.gz) = 10d22f27244754f338a366ca5ff7c348e89ecd8fff25231a9291886a5a80ebdd +SIZE (IO-Compress-Brotli-0.017.tar.gz) = 7748620 diff --git a/archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL b/archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL index 2d94405bd8bf..dd6fa50b45aa 100644 --- a/archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL +++ b/archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL @@ -1,37 +1,37 @@ ---- Makefile.PL.orig 2023-10-29 12:18:47 UTC +--- Makefile.PL.orig 2023-10-31 00:35:30 UTC +++ Makefile.PL -@@ -1,6 +1,5 @@ +@@ -1,6 +1,5 @@ use ExtUtils::MakeMaker; use 5.014000; use ExtUtils::MakeMaker; -use Alien::cmake3; use File::Spec::Functions qw/catfile/; use Config; -@@ -23,14 +22,6 @@ WriteMakefile( +@@ -32,14 +31,6 @@ WriteMakefile( 'Getopt::Long' => '0', 'Time::HiRes' => '0', }, - CONFIGURE_REQUIRES => { - 'Alien::cmake3' => '0', - }, - BUILD_REQUIRES => { - 'Alien::cmake3' => '0', - }, - INC => '-Ibrotli/c/include', -- 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' }, +- MYEXTLIB => $myextlib, + clean => { FILES => "brotli/Makefile $myextlib 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, -@@ -39,12 +30,3 @@ WriteMakefile( +@@ -48,12 +39,3 @@ WriteMakefile( }, } ); - -sub MY::postamble { - my @dirs = Alien::cmake3->bin_dir; - my $cmake = defined $dirs[0] ? catfile($dirs[0] , Alien::cmake3->exe) : Alien::cmake3->exe; -' -$(MYEXTLIB): brotli/CMakeLists.txt - 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) -' -}