mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
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
This commit is contained in:
parent
928d9a6f1a
commit
5436d77522
2 changed files with 8 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
PORTNAME= IO-Compress-Brotli
|
PORTNAME= IO-Compress-Brotli
|
||||||
PORTVERSION= 0.017000
|
PORTVERSION= 0.017000
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= archivers perl5
|
CATEGORIES= archivers perl5
|
||||||
MASTER_SITES= CPAN
|
MASTER_SITES= CPAN
|
||||||
PKGNAMEPREFIX= p5-
|
PKGNAMEPREFIX= p5-
|
||||||
|
@ -18,6 +19,9 @@ RUN_DEPENDS= p5-File-Slurper>0:devel/p5-File-Slurper
|
||||||
USES= gmake localbase:ldflags perl5
|
USES= gmake localbase:ldflags perl5
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Makefile.PL
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/IO/Compress/Brotli/Brotli.so
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/IO/Compress/Brotli/Brotli.so
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
--- Makefile.PL.orig 2023-10-31 00:35:30 UTC
|
--- Makefile.PL.orig 2023-10-31 00:35:30 UTC
|
||||||
+++ Makefile.PL
|
+++ Makefile.PL
|
||||||
@@ -1,6 +1,5 @@ use ExtUtils::MakeMaker;
|
@@ -1,6 +1,5 @@
|
||||||
use 5.014000;
|
use 5.014000;
|
||||||
use ExtUtils::MakeMaker;
|
use ExtUtils::MakeMaker;
|
||||||
-use Alien::cmake3;
|
-use Alien::cmake3;
|
||||||
use File::Spec::Functions qw/catfile/;
|
use File::Spec::Functions qw/catfile/;
|
||||||
use Config;
|
use Config;
|
||||||
|
|
||||||
@@ -32,14 +31,6 @@ WriteMakefile(
|
@@ -32,14 +31,7 @@ WriteMakefile(
|
||||||
'Getopt::Long' => '0',
|
'Getopt::Long' => '0',
|
||||||
'Time::HiRes' => '0',
|
'Time::HiRes' => '0',
|
||||||
},
|
},
|
||||||
|
@ -19,10 +19,11 @@
|
||||||
- },
|
- },
|
||||||
- INC => '-Ibrotli/c/include',
|
- INC => '-Ibrotli/c/include',
|
||||||
- MYEXTLIB => $myextlib,
|
- 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" },
|
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 => {
|
META_ADD => {
|
||||||
dynamic_config => 0,
|
dynamic_config => 0,
|
||||||
@@ -48,12 +39,3 @@ WriteMakefile(
|
@@ -48,12 +40,3 @@ WriteMakefile(
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue