Ticket #26568: Portfile-yap.diff

File Portfile-yap.diff, 1.2 KB (added by pmoura (Paulo Moura), 14 years ago)
  • Portfile

    old new  
    2727
    2828worksrcdir      yap-6
    2929
    30 configure.args  --enable-threads=yes --enable-coroutining=yes \
    31                         --with-gmp=${prefix} --with-readline=${prefix}
     30depends_lib         \
     31    port:readline   \
     32    port:gmp
     33
     34configure.args      \
     35        --prefix=${prefix} --with-gmp=${prefix} --with-readline=${prefix}
    3236
    3337if {${os.platform} == "darwin" && ${build_arch} == "x86_64"} {
    3438    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
    3539}
    3640
     41default_variants +java
     42
     43variant tabling {
     44    configure.args-append --enable-tabling
     45}
     46
     47variant java {
     48    configure.args-append --with-java=/Library/Java/Home
     49}
     50
     51variant condor {
     52    configure.args-append --enable-condor
     53}
     54
     55variant threads {
     56    configure.args-append --enable-threads
     57    configure.args-append --enable-pthread-locking
     58    configure.args-append --enable-or-parallelism
     59}
     60
     61variant debug {
     62    configure.args-append --enable-debug-yap
     63    configure.args-append --enable-low-level-tracer
     64}
     65
    3766livecheck.url   ${homepage}downloads.html
    3867livecheck.regex {yap-([0-9.]+)}