Skip to content

Commit 636f1c8

Browse files
committed
Fix LIBDIR handling to be portable
As per aa755b4
1 parent 00d2b3e commit 636f1c8

File tree

22 files changed

+33
-22
lines changed

22 files changed

+33
-22
lines changed

steps/perl-5.12.5/files/Compress-Raw-Zlib_config.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
BUILD_ZLIB = False
66
INCLUDE = /usr/include
7-
LIB = /usr/lib/i386-unknown-linux-musl
7+
LIB = %LIBDIR%
88
OLD_ZLIB = False
99
GZIP_OS_CODE = AUTO_DETECT

steps/perl-5.12.5/pass1.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
src_prepare() {
66
default
77

8-
mv Compress-Raw-Zlib_config.in cpan/Compress-Raw-Zlib/config.in
8+
chmod 644 cpan/Compress-Raw-Zlib/config.in
9+
sed "s:%LIBDIR%:${LIBDIR}:" Compress-Raw-Zlib_config.in > cpan/Compress-Raw-Zlib/config.in
910

1011
# Remove miscellaneous pregenerated files
1112
rm Porting/Glossary \

steps/perl-5.15.7/files/Compress-Raw-Zlib_config.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
BUILD_ZLIB = False
66
INCLUDE = /usr/include
7-
LIB = /usr/lib/i386-unknown-linux-musl
7+
LIB = %LIBDIR%
88
OLD_ZLIB = False
99
GZIP_OS_CODE = AUTO_DETECT

steps/perl-5.15.7/pass1.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
src_prepare() {
66
default
77

8-
mv Compress-Raw-Zlib_config.in cpan/Compress-Raw-Zlib/config.in
8+
chmod 644 cpan/Compress-Raw-Zlib/config.in
9+
sed "s:%LIBDIR%:${LIBDIR}:" Compress-Raw-Zlib_config.in > cpan/Compress-Raw-Zlib/config.in
910

1011
# Remove miscellaneous pregenerated files
1112
rm Porting/Glossary \

steps/perl-5.16.3/files/Compress-Raw-Zlib_config.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
BUILD_ZLIB = False
66
INCLUDE = /usr/include
7-
LIB = /usr/lib/i386-unknown-linux-musl
7+
LIB = %LIBDIR%
88
OLD_ZLIB = False
99
GZIP_OS_CODE = AUTO_DETECT

steps/perl-5.16.3/pass1.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
src_prepare() {
66
default
77

8-
mv Compress-Raw-Zlib_config.in cpan/Compress-Raw-Zlib/config.in
8+
chmod 644 cpan/Compress-Raw-Zlib/config.in
9+
sed "s:%LIBDIR%:${LIBDIR}:" Compress-Raw-Zlib_config.in > cpan/Compress-Raw-Zlib/config.in
910

1011
# Remove miscellaneous pregenerated files
1112
rm Porting/Glossary \

steps/perl-5.17.2/files/Compress-Raw-Zlib_config.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
BUILD_ZLIB = False
66
INCLUDE = /usr/include
7-
LIB = /usr/lib/i386-unknown-linux-musl
7+
LIB = %LIBDIR%
88
OLD_ZLIB = False
99
GZIP_OS_CODE = AUTO_DETECT

steps/perl-5.17.2/pass1.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
src_prepare() {
66
default
77

8-
mv Compress-Raw-Zlib_config.in cpan/Compress-Raw-Zlib/config.in
8+
chmod 644 cpan/Compress-Raw-Zlib/config.in
9+
sed "s:%LIBDIR%:${LIBDIR}:" Compress-Raw-Zlib_config.in > cpan/Compress-Raw-Zlib/config.in
910

1011
# Socket versions greater than 2.000 have many difficult problems building
1112
# in 5.17.x versions; replace them with 2.000

steps/perl-5.17.4/files/Compress-Raw-Zlib_config.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
BUILD_ZLIB = False
66
INCLUDE = /usr/include
7-
LIB = /usr/lib/i386-unknown-linux-musl
7+
LIB = %LIBDIR%
88
OLD_ZLIB = False
99
GZIP_OS_CODE = AUTO_DETECT

steps/perl-5.17.4/pass1.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
src_prepare() {
66
default
77

8-
mv Compress-Raw-Zlib_config.in cpan/Compress-Raw-Zlib/config.in
8+
chmod 644 cpan/Compress-Raw-Zlib/config.in
9+
sed "s:%LIBDIR%:${LIBDIR}:" Compress-Raw-Zlib_config.in > cpan/Compress-Raw-Zlib/config.in
910

1011
# Socket versions greater than 2.000 have many difficult problems building
1112
# in 5.17.x versions; replace them with 2.000

0 commit comments

Comments
 (0)