Fix PERL_BUILD_DATE handling

(Wow I misread the code the first time)
This commit is contained in:
Samuel Tyler 2025-09-15 10:12:46 +10:00
parent 83ad28221a
commit b6422a6f4e
4 changed files with 12 additions and 16 deletions

View file

@ -85,11 +85,8 @@ src_configure() {
-Ddate=':' \ -Ddate=':' \
-Darchname="i386-linux" \ -Darchname="i386-linux" \
-Dmyhostname="(none)" \ -Dmyhostname="(none)" \
-Dmaildomain="(none)" -Dmaildomain="(none)" \
} -Dccflags='-DPERL_BUILD_DATE="null"'
src_compile() {
PERL_BUILD_DATE="Jan 01 1970" default
} }
src_install() { src_install() {

View file

@ -78,11 +78,8 @@ src_configure() {
-Ddate=':' \ -Ddate=':' \
-Darchname="i386-linux" \ -Darchname="i386-linux" \
-Dmyhostname="(none)" \ -Dmyhostname="(none)" \
-Dmaildomain="(none)" -Dmaildomain="(none)" \
} -Dccflags='-DPERL_BUILD_DATE="null"'
src_compile() {
PERL_BUILD_DATE="Jan 01 1970" default
} }
src_install() { src_install() {

View file

@ -80,17 +80,18 @@ src_configure() {
-Ddate=':' \ -Ddate=':' \
-Darchname="i386-linux" \ -Darchname="i386-linux" \
-Dmyhostname="(none)" \ -Dmyhostname="(none)" \
-Dmaildomain="(none)" -Dmaildomain="(none)" \
-Dccflags='-DPERL_BUILD_DATE="null"'
} }
src_compile() { src_compile() {
PERL_BUILD_DATE="Jan 01 1970" make "${MAKEJOBS}" pod/perlapi.pod make "${MAKEJOBS}" pod/perlapi.pod
pushd dist/Devel-PPPort pushd dist/Devel-PPPort
perl devel/mkapidoc.pl perl devel/mkapidoc.pl
popd popd
PERL_BUILD_DATE="Jan 01 1970" default default
} }
src_install() { src_install() {

View file

@ -83,17 +83,18 @@ src_configure() {
-Dccflags="-U__DATE__ -U__TIME__" \ -Dccflags="-U__DATE__ -U__TIME__" \
-Darchname="i386-linux" \ -Darchname="i386-linux" \
-Dmyhostname="(none)" \ -Dmyhostname="(none)" \
-Dmaildomain="(none)" -Dmaildomain="(none)" \
-Dccflags='-DPERL_BUILD_DATE="null"'
} }
src_compile() { src_compile() {
PERL_BUILD_DATE="Jan 01 1970" make "${MAKEJOBS}" pod/perlapi.pod make "${MAKEJOBS}" pod/perlapi.pod
pushd dist/Devel-PPPort pushd dist/Devel-PPPort
perl devel/mkapidoc.pl perl devel/mkapidoc.pl
popd popd
PERL_BUILD_DATE="Jan 01 1970" default default
} }
src_install() { src_install() {