Fix LIBDIR handling to be portable

As per aa755b44fa
This commit is contained in:
Samuel Tyler 2025-09-11 14:10:24 +10:00
parent 9f15cc2f6c
commit b0a2dc96ad
22 changed files with 33 additions and 22 deletions

View file

@ -4,6 +4,6 @@
BUILD_ZLIB = False
INCLUDE = /usr/include
LIB = /usr/lib/i386-unknown-linux-musl
LIB = %LIBDIR%
OLD_ZLIB = False
GZIP_OS_CODE = AUTO_DETECT

View file

@ -5,7 +5,8 @@
src_prepare() {
default
mv Compress-Raw-Zlib_config.in cpan/Compress-Raw-Zlib/config.in
chmod 644 cpan/Compress-Raw-Zlib/config.in
sed "s:%LIBDIR%:${LIBDIR}:" Compress-Raw-Zlib_config.in > cpan/Compress-Raw-Zlib/config.in
# Socket versions greater than 2.000 have many difficult problems building
# in 5.17.x versions; replace them with 2.000