Ticket #48467: maxima-texinfo.patch

File maxima-texinfo.patch, 989 bytes (added by Ionic (Mihai Moldovan), 9 years ago)

Copy texinfo.tex from texinfo and fix trace mode failures by depending upon texlive-generic-recommended and texlive-fonts-recommended.

  • math/maxima/Portfile

    diff --git a/math/maxima/Portfile b/math/maxima/Portfile
    index bec309c..bc5d322 100644
    a b test.target check 
    6969variant printable_doc description {Build printable documentation} {
    7070    depends_build-append    port:texinfo \
    7171                            port:texlive-basic \
    72                             port:texlive-latex
     72                            port:texlive-latex \
     73                            port:texlive-generic-recommended \
     74                            port:texlive-fonts-recommended
    7375    build.target            all pdf
    7476
     77    post-patch {
     78        # Replace outdated texinfo.tex file with whatever current texinfo ships.
     79        copy -force ${prefix}/share/texmf/tex/texinfo/texinfo.tex \
     80                    ${worksrcpath}/doc/info
     81    }
     82
    7583    pre-destroot {
    7684        xinstall -d -m 755 ${destroot}${prefix}/share/${name}/${version}/doc/pdf
    7785        xinstall -m 644 ${worksrcpath}/doc/info/maxima.pdf \