From: bluhm Date: Fri, 25 Mar 2022 11:38:11 +0000 (+0000) Subject: Build Perl module Compress::Raw::Zlib with zlib from /usr/lib/libz.so X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e1468233441a0a705b456162ebc426fd2612b2e0;p=openbsd Build Perl module Compress::Raw::Zlib with zlib from /usr/lib/libz.so instead of the sources that are packaged with Perl. This allows us to apply security fixes for userland base in one place. Zlib.so is used with dlopen(3) and gets a new library dependency to libz. Before zlib objects from zlib-src were linked statically. OK tb@ --- diff --git a/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/config.in b/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/config.in index d6701ffb0cf..30d14a6b220 100644 --- a/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/config.in +++ b/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/config.in @@ -16,9 +16,9 @@ # Setting the Gzip OS Code # -BUILD_ZLIB = True -INCLUDE = ./zlib-src -LIB = ./zlib-src +BUILD_ZLIB = False +INCLUDE = /usr/include +LIB = /usr/lib OLD_ZLIB = False GZIP_OS_CODE = AUTO_DETECT