Ticket #37544: ruby19.patch

File ruby19.patch, 852 bytes (added by robsonpeixoto@…, 11 years ago)
  • Portfile

     
    858858    # Overwriting autoconf.cmd above removes dependency, add it again
    859859    depends_build-append port:autoconf
    860860}
    861 variant ruby description {Enable Ruby scripting} {
     861variant ruby conflicts ruby19 description {Enable Ruby scripting} {
    862862    configure.args-append   --enable-rubyinterp
    863863    depends_lib-append      port:ruby
    864864}
     865variant ruby19 conflicts ruby description {Enable Ruby scripting} {
     866    configure.args-append   --enable-rubyinterp
     867    configure.args-append   --with-ruby-command=ruby1.9
     868    depends_lib-append      port:ruby19
     869}
    865870variant tcl description {Enable Tcl scripting} {
    866871    configure.args-append   --enable-tclinterp
    867872    patchfiles-append       patch-tcl.diff