Ticket #32581: reduce-algebra-config.guess.diff

File reduce-algebra-config.guess.diff, 878 bytes (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

proposed patch

  • Portfile

     
    66name                reduce-algebra
    77svn.revision        1530
    88version             3.8.0-r${svn.revision}
     9revision            1
    910categories          math
    1011platforms           darwin
    1112license             BSD
     
    5455    xinstall -d ${destroot}${dest_dir}/scripts
    5556    eval copy [glob ${worksrcpath}/scripts/*] ${destroot}${dest_dir}/scripts
    5657
    57     xinstall ${worksrcpath}/config.guess ${destroot}${dest_dir}
     58    set fp [open ${destroot}${dest_dir}/config.guess w]
     59    puts $fp "#!/bin/sh"
     60    puts $fp "echo [exec ${worksrcpath}/config.guess]"
     61    close $fp
     62    file attributes ${destroot}${dest_dir}/config.guess -permissions a+x
    5863}
    5964
    6065variant html description {Install documentation in HTML format} {