--- relax.orig	2007-02-19 00:36:06.000000000 -0500
+++ relax	2008-08-11 02:13:30.000000000 -0400
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!@PREFIX@/bin/python2.7
 
 ###############################################################################
 #                                                                             #
--- sconstruct.orig	2010-12-31 04:18:48.000000000 -0500
+++ sconstruct	2011-01-09 15:46:22.000000000 -0500
@@ -98,7 +98,7 @@
     SYS = SYSTEM
 
     # Mac OS X installation path.
-    INSTALL_PATH = sys.prefix + sep + 'local'
+    INSTALL_PATH = '@DEST_ROOT@@PREFIX@' + sep + 'lib'
 
 
 # All other operating systems.
@@ -118,13 +118,12 @@
 RELAX_PATH = INSTALL_PATH + sep + 'relax'
 
 # Installation path for binaries.
-BIN_PATH = INSTALL_PATH + sep + 'bin'
+BIN_PATH = '@DEST_ROOT@@PREFIX@' + sep + 'bin'
 
 # Symbolic link installation path.
 SYMLINK = BIN_PATH + sep + 'relax'
 
 
-
 # The distribution files.
 #########################
 
@@ -515,9 +514,6 @@
             cflags = '/nologo /I\"' + py_include_minpath + '\" /I\"' + numpy_path + '\"'
         else:
             cflags = '-I' + py_include_fullpath + ' -I' + numpy_path
-        if env['PLATFORM'] == 'darwin':
-            for arch in ['i386', 'ppc', 'x86_64']:
-                cflags += ' -arch %s' % arch
 
         # Python library path.
         libpath = ''
@@ -537,11 +533,6 @@
                 '-undefined', 'dynamic_lookup'
             ]
 
-            # Force all architectures.
-            for arch in ['i386', 'ppc', 'x86_64']:
-                lnflags.append('-arch')
-                lnflags.append(arch)
-
             # Set up the environment.
             env.Append(LINKFLAGS = lnflags)
             env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS')
--- scons/install.py.orig	2010-12-31 04:18:33.000000000 -0500
+++ scons/install.py	2011-01-09 15:52:38.000000000 -0500
@@ -112,8 +112,8 @@
     ###############
 
     # Run relax to create the *.pyc files.
-    print("\nRunning relax to create the byte-compiled *.pyc files.")
-    system(env['SYMLINK'] + " --test")
+    # print("\nRunning relax to create the byte-compiled *.pyc files.")
+    # system(env['SYMLINK'] + " --test")
 
     # Final print out.
     print("\n\n\n")
