Ticket #20859: Portfile.diff

File Portfile.diff, 650 bytes (added by mdippery@…, 15 years ago)

Enables the use of py26-simplejson (and Python 2.6) during build phase

  • Portfile

    old new  
    9797    system "cd ${destroot}${plistloc}; patch <${filespath}/patch-org.macports.rabbitmq-server.plist.diff"
    9898}
    9999
     100variant python26 description { Use Python 2.6 } {
     101    depends_build-delete port:py25-simplejson
     102    depends_build-append port:py26-simplejson
     103    build.args-delete PYTHON=${prefix}/bin/python2.5
     104    build.args-append PYTHON=${prefix}/bin/python2.6
     105}
     106
    100107startupitem.create      yes
    101108startupitem.init        "PATH=${prefix}/bin:${prefix}/sbin:\$PATH; export PATH"
    102109startupitem.start       "rabbitmq-server 2>&1"