Ticket #25562: miriad-3.diff

File miriad-3.diff, 950 bytes (added by pkgw (Peter Williams), 14 years ago)

Explicitly disable docs unless given +docs

  • ports/science/miriad/Portfile

    diff --git a/ports/science/miriad/Portfile b/ports/science/miriad/Portfile
    index 2be132b..9f4132d 100644
    a b set thescope ${defaultscope} 
    8383# possible conflicts. The automiriad scripts will deal with this correctly.
    8484
    8585configure.args  --bindir=${prefix}/libexec/miriad \
    86                 --with-telescope=${defaultscope}
     86                --with-telescope=${defaultscope} \
     87                --disable-docs
    8788configure.compiler ${compilerident}
    8889
    8990# The telescope configuration is important, so make sure the user is
    variant debug description {Build with debugging support -- tasks will be very sl 
    123124
    124125variant docs description {Build documentation PDFs -- depends on many ports} {
    125126    depends_build-append port:texlive port:latex2html port:transfig port:gnuplot
     127    configure.args-delete --disable-docs
    126128    configure.args-append --enable-docs
    127129}