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
# Remove miscellaneous pregenerated files
rm Porting/Glossary \

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
# Remove miscellaneous pregenerated files
rm Porting/Glossary \

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
# Remove miscellaneous pregenerated files
rm Porting/Glossary \

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

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

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
# Remove miscellaneous pregenerated files
rm Porting/Glossary \

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

@ -11,7 +11,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
# Remove miscellaneous pregenerated files
rm Porting/Glossary \

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

@ -11,7 +11,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
# Remove miscellaneous pregenerated files
rm Porting/Glossary \

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
# Remove miscellaneous pregenerated files
rm Porting/Glossary \

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
# Remove miscellaneous pregenerated files
rm -f Porting/Glossary \

View file

@ -4,7 +4,7 @@
BUILD_ZLIB = False
ZLIB_INCLUDE = /usr/include
ZLIB_LIB = /usr/lib/i386-unknown-linux-musl
ZLIB_LIB = %LIBDIR%
OLD_ZLIB = False
GZIP_OS_CODE = AUTO_DETECT
USE_ZLIB_NG = False

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
# Remove miscellaneous pregenerated files
rm -f Porting/Glossary \