[csw-devel] SF.net SVN: gar:[3552] csw/mgar/pkg/python/trunk/files

valholla at users.sourceforge.net valholla at users.sourceforge.net
Mon Mar 2 19:57:58 CET 2009


Revision: 3552
          http://gar.svn.sourceforge.net/gar/?rev=3552&view=rev
Author:   valholla
Date:     2009-03-02 18:57:58 +0000 (Mon, 02 Mar 2009)

Log Message:
-----------
2 new patches to fix library files and change to arch=v8

Added Paths:
-----------
    csw/mgar/pkg/python/trunk/files/configure.diff
    csw/mgar/pkg/python/trunk/files/python-config-in.diff

Added: csw/mgar/pkg/python/trunk/files/configure.diff
===================================================================
--- csw/mgar/pkg/python/trunk/files/configure.diff	                        (rev 0)
+++ csw/mgar/pkg/python/trunk/files/configure.diff	2009-03-02 18:57:58 UTC (rev 3552)
@@ -0,0 +1,12 @@
+--- Python-2.6.1/configure.orig	2009-03-01 22:10:31.322676775 -0600
++++ Python-2.6.1/configure	2009-03-01 22:11:19.595609202 -0600
+@@ -13131,8 +13131,7 @@
+ 	SunOS*) if test "$GCC" = yes;
+ 		then CCSHARED="-fPIC";
+ 		elif test `uname -p` = sparc;
+-		then CCSHARED="-xcode=pic32";
+-		else CCSHARED="-Kpic";
++            then CCSHARED="-xO3 -xarch=v8";
+ 		fi;;
+ 	hp*|HP*) if test "$GCC" = yes;
+ 		 then CCSHARED="-fPIC";

Added: csw/mgar/pkg/python/trunk/files/python-config-in.diff
===================================================================
--- csw/mgar/pkg/python/trunk/files/python-config-in.diff	                        (rev 0)
+++ csw/mgar/pkg/python/trunk/files/python-config-in.diff	2009-03-02 18:57:58 UTC (rev 3552)
@@ -0,0 +1,10 @@
+--- Python-2.6.1/Misc/python-config.in.orig	2009-03-02 12:51:22.272566712 -0600
++++ Python-2.6.1/Misc/python-config.in	2009-03-02 12:50:38.306680748 -0600
+@@ -49,5 +49,7 @@
+     # shared library in prefix/lib/.
+     if opt == '--ldflags' and not getvar('Py_ENABLE_SHARED'):
+         libs.insert(0, '-L' + getvar('LIBPL'))
++    if opt == '--ldflags':
++        libs.insert(0, '-L /opt/csw/lib -R /opt/csw/lib')
+     print ' '.join(libs)
+ 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list