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

valholla at users.sourceforge.net valholla at users.sourceforge.net
Mon May 18 04:06:38 CEST 2009


Revision: 4925
          http://gar.svn.sourceforge.net/gar/?rev=4925&view=rev
Author:   valholla
Date:     2009-05-18 02:06:37 +0000 (Mon, 18 May 2009)

Log Message:
-----------
remove patch and handle with gar

Modified Paths:
--------------
    csw/mgar/pkg/python/trunk/Makefile

Removed Paths:
-------------
    csw/mgar/pkg/python/trunk/files/configure.diff

Modified: csw/mgar/pkg/python/trunk/Makefile
===================================================================
--- csw/mgar/pkg/python/trunk/Makefile	2009-05-18 00:16:05 UTC (rev 4924)
+++ csw/mgar/pkg/python/trunk/Makefile	2009-05-18 02:06:37 UTC (rev 4925)
@@ -36,7 +36,7 @@
 PATCHFILES += pyport.diff
 PATCHFILES += setup.diff
 PATCHFILES += site.diff
-PATCHFILES += configure.diff
+#PATCHFILES += configure.diff
 PATCHFILES += python-config-in.diff
 
 # Test for sunaudiodev fails.
@@ -47,6 +47,22 @@
 DEPENDS += lib/db
 DEPENDS += lib/gdbm
 
+ifeq ($(shell uname -p), i386)
+    ifeq ($(shell uname -r),5.10)
+        BASECFLAGS = -xO3 -xarch=amd64
+    else
+        BASECFLAGS = -xO3 -xarch=386
+    endif
+else
+    ifeq ($(shell uname -r),5.10)
+        BASECFLAGS = -xO3 -xarch=v9
+    else
+        BASECFLAGS = -xO3 -xarch=v8
+    endif
+endif
+
+COMPILER_EXPORTS += BASECFLAGS
+
 NOISALIST = 1
 LD_OPTIONS = -R/opt/csw/lib
 export LD_OPTIONS

Deleted: csw/mgar/pkg/python/trunk/files/configure.diff
===================================================================
--- csw/mgar/pkg/python/trunk/files/configure.diff	2009-05-18 00:16:05 UTC (rev 4924)
+++ csw/mgar/pkg/python/trunk/files/configure.diff	2009-05-18 02:06:37 UTC (rev 4925)
@@ -1,12 +0,0 @@
---- 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";
- 		fi;;
- 	hp*|HP*) if test "$GCC" = yes;
- 		 then CCSHARED="-fPIC";


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