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

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