Skip to content

Commit b6422a6

Browse files
committed
Fix PERL_BUILD_DATE handling
(Wow I misread the code the first time)
1 parent 83ad282 commit b6422a6

File tree

4 files changed

+12
-16
lines changed

4 files changed

+12
-16
lines changed

steps/perl-5.24.4/pass1.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,8 @@ src_configure() {
8585
-Ddate=':' \
8686
-Darchname="i386-linux" \
8787
-Dmyhostname="(none)" \
88-
-Dmaildomain="(none)"
89-
}
90-
91-
src_compile() {
92-
PERL_BUILD_DATE="Jan 01 1970" default
88+
-Dmaildomain="(none)" \
89+
-Dccflags='-DPERL_BUILD_DATE="null"'
9390
}
9491

9592
src_install() {

steps/perl-5.30.3/pass1.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,8 @@ src_configure() {
7878
-Ddate=':' \
7979
-Darchname="i386-linux" \
8080
-Dmyhostname="(none)" \
81-
-Dmaildomain="(none)"
82-
}
83-
84-
src_compile() {
85-
PERL_BUILD_DATE="Jan 01 1970" default
81+
-Dmaildomain="(none)" \
82+
-Dccflags='-DPERL_BUILD_DATE="null"'
8683
}
8784

8885
src_install() {

steps/perl-5.36.3/pass1.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,18 @@ src_configure() {
8080
-Ddate=':' \
8181
-Darchname="i386-linux" \
8282
-Dmyhostname="(none)" \
83-
-Dmaildomain="(none)"
83+
-Dmaildomain="(none)" \
84+
-Dccflags='-DPERL_BUILD_DATE="null"'
8485
}
8586

8687
src_compile() {
87-
PERL_BUILD_DATE="Jan 01 1970" make "${MAKEJOBS}" pod/perlapi.pod
88+
make "${MAKEJOBS}" pod/perlapi.pod
8889

8990
pushd dist/Devel-PPPort
9091
perl devel/mkapidoc.pl
9192
popd
9293

93-
PERL_BUILD_DATE="Jan 01 1970" default
94+
default
9495
}
9596

9697
src_install() {

steps/perl-5.42.0/pass1.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,18 @@ src_configure() {
8383
-Dccflags="-U__DATE__ -U__TIME__" \
8484
-Darchname="i386-linux" \
8585
-Dmyhostname="(none)" \
86-
-Dmaildomain="(none)"
86+
-Dmaildomain="(none)" \
87+
-Dccflags='-DPERL_BUILD_DATE="null"'
8788
}
8889

8990
src_compile() {
90-
PERL_BUILD_DATE="Jan 01 1970" make "${MAKEJOBS}" pod/perlapi.pod
91+
make "${MAKEJOBS}" pod/perlapi.pod
9192

9293
pushd dist/Devel-PPPort
9394
perl devel/mkapidoc.pl
9495
popd
9596

96-
PERL_BUILD_DATE="Jan 01 1970" default
97+
default
9798
}
9899

99100
src_install() {

0 commit comments

Comments
 (0)