Ticket #36507: Portfile.diff

File Portfile.diff, 815 bytes (added by humem (humem), 12 years ago)
  • Portfile

    old new  
    109109        }
    110110}
    111111
    112 variant nosuffix description "Don't add the 1.9 program suffix to the executables. Note: that makes the port conflict with ruby (1.8), rb-rubygems, and rb-rake ports." {
     112variant nosuffix description "Don't add the 1.9 program suffix to the executables" {
     113    conflicts ruby ruby186 rb-rubygems rb-rake
    113114                configure.args-delete           --program-suffix=1.9
     115    post-destroot {
     116        # install suffixed binaries to build rb19-* packages.
     117        foreach file {erb gem irb rake rdoc ri ruby testrb} {
     118            ln -s ${prefix}/bin/${file} ${destroot}${prefix}/bin/${file}1.9
     119        }
     120    }
    114121}
    115122
    116123variant c_api_docs description "Generate documentation for Ruby C API" {