Ticket #14795: Portfile.diff

File Portfile.diff, 614 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago)
  • Portfile

    old new  
    175175variant xslt description {a processor independent API to XSLT transformations} {
    176176    depends_lib-append  port:sablotron
    177177    configure.args-append       --enable-xslt --with-xslt-sablot=${prefix} --with-iconv-dir=${prefix}
     178    set rfl [open "| ${prefix}/bin/port installed sablotron | grep javascript" ]
     179    set varSab [read $rfl]
     180    if { $varSab != "" } {
     181        configure.args-append    --with-sablot-js=${prefix}
     182    }
    178183}
    179184
    180185# If no apache/apache2/apache20 variant is set, we set it (waiting a