Ticket #27909: relax.patch

File relax.patch, 1.4 KB (added by howarth@…, 13 years ago)

replacement relax.patch file

  • relax

    old new  
    1 #! /usr/bin/env python
     1#!@PREFIX@/bin/python2.6
    22
    33###############################################################################
    44#                                                                             #
  • sconstruct

    old new  
    9898    SYS = SYSTEM
    9999
    100100    # Mac OS X installation path.
    101     INSTALL_PATH = sys.prefix + sep + 'local'
     101    INSTALL_PATH = '@DEST_ROOT@@PREFIX@' + sep + 'lib'
    102102
    103103
    104104# All other operating systems.
     
    118118RELAX_PATH = INSTALL_PATH + sep + 'relax'
    119119
    120120# Installation path for binaries.
    121 BIN_PATH = INSTALL_PATH + sep + 'bin'
     121BIN_PATH = '@DEST_ROOT@@PREFIX@' + sep + 'bin'
    122122
    123123# Symbolic link installation path.
    124124SYMLINK = BIN_PATH + sep + 'relax'
    125125
    126126
    127 
    128127# The distribution files.
    129128#########################
    130129
  • scons/install.py

    old new  
    112112    ###############
    113113
    114114    # Run relax to create the *.pyc files.
    115     print("\nRunning relax to create the byte-compiled *.pyc files.")
    116     system(env['SYMLINK'] + " --test")
     115    # print("\nRunning relax to create the byte-compiled *.pyc files.")
     116    # system(env['SYMLINK'] + " --test")
    117117
    118118    # Final print out.
    119119    print("\n\n\n")