Date: Thu, 18 Apr 2024 13:20:51 GMT From: Ryan Steinmetz <zi@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5436d77522b3 - main - archivers/p5-IO-Compress-Brotli: Unbreak port Message-ID: <202404181320.43IDKpnl018213@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by zi: URL: https://cgit.FreeBSD.org/ports/commit/?id=5436d77522b3844d07f3f58670eeb362394c75db commit 5436d77522b3844d07f3f58670eeb362394c75db Author: Ryan Steinmetz <zi@FreeBSD.org> AuthorDate: 2024-04-18 13:20:12 +0000 Commit: Ryan Steinmetz <zi@FreeBSD.org> CommitDate: 2024-04-18 13:20:12 +0000 archivers/p5-IO-Compress-Brotli: Unbreak port ld-elf.so.1: /usr/local/lib/perl5/site_perl/mach/5.36/auto/IO/Compress/Brotli/Brotli.so: Undefined symbol "BrotliEncoderCreateInstance" - Bump PORTREVISION --- archivers/p5-IO-Compress-Brotli/Makefile | 4 ++++ archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/archivers/p5-IO-Compress-Brotli/Makefile b/archivers/p5-IO-Compress-Brotli/Makefile index 77f02e743b67..036fc853ba63 100644 --- a/archivers/p5-IO-Compress-Brotli/Makefile +++ b/archivers/p5-IO-Compress-Brotli/Makefile @@ -1,5 +1,6 @@ PORTNAME= IO-Compress-Brotli PORTVERSION= 0.017000 +PORTREVISION= 1 CATEGORIES= archivers perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -18,6 +19,9 @@ RUN_DEPENDS= p5-File-Slurper>0:devel/p5-File-Slurper USES= gmake localbase:ldflags perl5 USE_PERL5= configure +post-patch: + ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Makefile.PL + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/IO/Compress/Brotli/Brotli.so diff --git a/archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL b/archivers/p5-IO-Compress-Brotli/files/patch-Makefile.PL index dd6fa50b45aa..86a24f2e2761 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-31 00:35:30 UTC +++ Makefile.PL -@@ -1,6 +1,5 @@ use ExtUtils::MakeMaker; +@@ -1,6 +1,5 @@ use 5.014000; use ExtUtils::MakeMaker; -use Alien::cmake3; use File::Spec::Functions qw/catfile/; use Config; -@@ -32,14 +31,6 @@ WriteMakefile( +@@ -32,14 +31,7 @@ WriteMakefile( 'Getopt::Long' => '0', 'Time::HiRes' => '0', }, @@ -19,10 +19,11 @@ - }, - INC => '-Ibrotli/c/include', - MYEXTLIB => $myextlib, ++ LIBS => ['-L%%LOCALBASE%%/lib -lbrotlienc -lbrotlidec -lbrotlicommon'], 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, -@@ -48,12 +39,3 @@ WriteMakefile( +@@ -48,12 +40,3 @@ WriteMakefile( }, } );
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404181320.43IDKpnl018213>