You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
octave: fix documentation rebuild issue
See: https://octave.discourse.group/t/octave-11-3-0-released/7568
This commit is contained in:
@@ -29,6 +29,21 @@ checksums rmd160 55e9c3e9f9d979513aa817d299be98fd30a005b8 \
|
||||
sha256 cb589feb3cef84d134854683718c9c13e0b471ea916d0761be7a8c4e261a32d1 \
|
||||
size 38355667
|
||||
|
||||
# see https://octave.discourse.group/t/octave-11-3-0-released/7568
|
||||
depends_build-append \
|
||||
port:coreutils
|
||||
|
||||
post-extract {
|
||||
# Set correct date in files that haven't been generated correctly.
|
||||
reinplace "s|UPDATED\ 2\ June\ 2026|UPDATED 1 June 2026|" ${worksrcpath}/doc/interpreter/version-octave.texi
|
||||
reinplace "s|UPDATED\ 2\ June\ 2026|UPDATED 1 June 2026|" ${worksrcpath}/doc/interpreter/octave-doc-version.texi
|
||||
reinplace "s|UPDATED\ 2\ June\ 2026|UPDATED 1 June 2026|" ${worksrcpath}/doc/liboctave/version-liboctave.texi
|
||||
# Re-set to original modification date and time to avoid triggering a doc rebuild.
|
||||
exec gtouch -d "2026-06-01 19:12:14 UTC" ${worksrcpath}/doc/interpreter/version-octave.texi
|
||||
exec gtouch -d "2026-06-01 19:12:14 UTC" ${worksrcpath}/doc/interpreter/octave-doc-version.texi
|
||||
exec gtouch -d "2026-06-01 19:12:14 UTC" ${worksrcpath}/doc/liboctave/version-liboctave.texi
|
||||
}
|
||||
|
||||
# see https://lists.gnu.org/archive/html/octave-maintainers/2016-05/msg00286.html
|
||||
compiler.cxx_standard \
|
||||
2017
|
||||
|
||||
Reference in New Issue
Block a user