Ticket #22835: rubyports.diff

File rubyports.diff, 1.7 KB (added by reynhout@…, 15 years ago)

diff -u ruby*/Portfile*

  • ruby/Portfile

    old new  
    8484        }
    8585}
    8686
     87variant suffix18 description "Use 1.8 suffix for Ruby executables" {
     88        configure.args-append   --program-suffix=1.8
     89}
     90variant suffix187 description "Use 1.8.7 suffix for Ruby executables" {
     91        configure.args-append   --program-suffix=1.8.7
     92}
    8793variant universal {
    8894        configure.args-delete --disable-dependency-tracking
    8995        build.target-append  EXTLDFLAGS="${configure.universal_ldflags}" CFLAGS="${configure.universal_cflags}"
  • ruby186/Portfile

    old new  
    9090                                                        words-bigendian-from-arch.diff
    9191}
    9292
     93variant suffix186 description "Use 1.8.6 suffix for Ruby executables" {
     94        configure.args-append   --program-suffix=1.8.6
     95}
     96
    9397variant tk conflicts mactk description {Enable MacPorts Tk bindings} {
    9498        configure.args-delete   --without-tk
    9599        configure.args-append   --with-tk
  • ruby19/Portfile

    old new  
    5757variant 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." {
    5858        configure.args-delete           --program-suffix=1.9
    5959}
     60variant suffix191 description "Use 1.9.1 suffix for Ruby executables" {
     61        configure.args-delete           --program-suffix=1.9
     62        configure.args-append           --program-suffix=1.9.1
     63}
    6064
    6165variant c_api_docs description "Generate documentation for Ruby C API" {
    6266    depends_build-append port:doxygen