mailRe: compiling 1.3.4 against python 2.6?


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Jack Howarth on August 18, 2009 - 15:08:
Edward,
   Attached is the patch as applied to the tagged svn of relax 1.3.4
(I couldn't find the trunk svn). My other patches are specific to
packaging relax in fink. They concern the relocation of the relax
directories and suppression of the automatic compilation of the
python scripts (which for packages should be done in a post install
script).
           Jack

On Tue, Aug 18, 2009 at 11:00:51AM +0200, Edward d'Auvergne wrote:
Hi,

That's awesome!  Could you make a patch file that I can apply it (and
credit you for it)?  For this, just type:

$ svn diff > some_patch_file_name

and then send the resultant file as a response to this.  It should
only contain this line change, therefore you need the sconstruct file
to have only this change. Your other changes need to be incorporated
in another patch, and probably discussed as well.  I would like to
make everything automatic for you, but we also need to take into
account that a user may have python and relax installed outside of the
Fink system (i.e. the repository 1.3 branch and some python version
installed as a user in the home directory or desktop).

Cheers,

Edward


Index: sconstruct
===================================================================
--- sconstruct  (revision 9328)
+++ sconstruct  (working copy)
@@ -500,7 +500,7 @@
 
         # Catch Mac OS X and send the correct command line options to the 
linker (these may become redundant as SCons improves).
         if env['PLATFORM'] == 'darwin':
-            env.Append(LINKFLAGS = ['-bundle', '-bundle_loader', sys.prefix 
+ path.sep + 'bin' + path.sep + 'python', '-dynamic'])
+            env.Append(LINKFLAGS = ['-bundle', '-bundle_loader', sys.prefix 
+ path.sep + 'bin' + path.sep + 'python', '-dynamic', '-undefined', 
'dynamic_lookup'])
             env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS')
 
         # Shared library prefix and suffix.

Related Messages


Powered by MHonArc, Updated Wed Aug 19 01:40:42 2009