Ignore:
Timestamp:
Aug 6, 2012, 9:21:00 PM (8 years ago)
Author:
ryandesign@…
Message:

bc: add missing libedit dependency, in a new libedit variant, which is the default (#31192)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/bc/Portfile

    r96274 r96275  
    55name                bc
    66version             1.06.95
     7revision            1
    78categories          math
    89maintainers         mww openmaintainer
     
    2324
    2425configure.args      --infodir=${prefix}/share/info \
    25                     --mandir=${prefix}/share/man \
    26                     --with-libedit
     26                    --mandir=${prefix}/share/man
    2727
    2828post-destroot {
     
    3030}
    3131
    32 variant readline description {use GNU readline instead of libedit} {
    33     depends_lib port:readline
    34     configure.args-delete --with-libedit
     32variant libedit conflicts readline description {use libedit for command input editing} {
     33    depends_lib-append port:libedit
     34    configure.args-append --with-libedit
     35}
     36
     37variant readline conflicts libedit description {use GNU readline for command input editing} {
     38    depends_lib-append port:readline
    3539    configure.args-append --with-readline
     40}
     41
     42if {![variant_isset libedit] && ![variant_isset readline]} {
     43    default_variants +libedit
    3644}
    3745
Note: See TracChangeset for help on using the changeset viewer.