Ticket #43404: Portfile-gawk.diff

File Portfile-gawk.diff, 1.2 KB (added by Schamschula (Marius Schamschula), 10 years ago)
  • Portfile

    old new  
    66
    77name                    gawk
    88version                 4.1.1
    9 revision                1
     9revision                2
    1010categories              lang
    1111license                 GPL-3+
    1212installs_libs           no
     
    2626                        rmd160  a5a6ab9491bf702310cef7c035531cc7fad0a62d
    2727
    2828depends_lib             port:gettext \
    29                         port:gmp \
    30                         port:mpfr \
    3129                        port:readline
    3230
    3331conflicts_build         nawk
     
    3533patchfiles              patch-extensions-Makefile.in.diff
    3634
    3735configure.args          --with-libiconv-prefix=${prefix} \
     36                        --without-mpfr \
    3837                        ac_cv_libsigsegv=no
    3938
    4039test.run                yes
     
    5251        ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz
    5352    }
    5453}
     54
     55variant mpfr {
     56depends_lib-append      port:gmp \
     57                        port:mpfr
     58                       
     59configure.args-delete   --without-mpfr
     60}