Build Perl module Compress::Raw::Zlib with zlib from /usr/lib/libz.so
authorbluhm <bluhm@openbsd.org>
Fri, 25 Mar 2022 11:38:11 +0000 (11:38 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 25 Mar 2022 11:38:11 +0000 (11:38 +0000)
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@

gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/config.in

index d6701ff..30d14a6 100644 (file)
@@ -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