[csw-devel] SF.net SVN: gar:[16199] csw/mgar/pkg/lang-python/python/branches/python-3.2

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Nov 16 11:11:14 CET 2011


Revision: 16199
          http://gar.svn.sourceforge.net/gar/?rev=16199&view=rev
Author:   wahwah
Date:     2011-11-16 10:11:14 +0000 (Wed, 16 Nov 2011)
Log Message:
-----------
lang-python/python/branches/python-3.2: it builds with a patch

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/python/branches/python-3.2/Makefile

Added Paths:
-----------
    csw/mgar/pkg/lang-python/python/branches/python-3.2/files/0004-Use-PY_CPPFLAGS-in-Modules-makesetup.patch

Modified: csw/mgar/pkg/lang-python/python/branches/python-3.2/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/python/branches/python-3.2/Makefile	2011-11-16 09:09:54 UTC (rev 16198)
+++ csw/mgar/pkg/lang-python/python/branches/python-3.2/Makefile	2011-11-16 10:11:14 UTC (rev 16199)
@@ -39,6 +39,7 @@
 PATCHFILES += makesetup.diff
 PATCHFILES += modules.diff
 PATCHFILES += multiprocess.diff
+PATCHFILES += 0004-Use-PY_CPPFLAGS-in-Modules-makesetup.patch
 
 # The test for sunaudiodev fails.  Not that it's a good practice to skip
 # tests.
@@ -180,4 +181,6 @@
 EXTRA_PAX_ARGS += -s ',^\.$(bindir)/python-config,$(bindir)/python-config-$(VER),'
 EXTRA_MERGE_EXCLUDE_FILES += $(bindir)/python
 
+GARCOMPILER = GNU
+
 include gar/category.mk

Added: csw/mgar/pkg/lang-python/python/branches/python-3.2/files/0004-Use-PY_CPPFLAGS-in-Modules-makesetup.patch
===================================================================
--- csw/mgar/pkg/lang-python/python/branches/python-3.2/files/0004-Use-PY_CPPFLAGS-in-Modules-makesetup.patch	                        (rev 0)
+++ csw/mgar/pkg/lang-python/python/branches/python-3.2/files/0004-Use-PY_CPPFLAGS-in-Modules-makesetup.patch	2011-11-16 10:11:14 UTC (rev 16199)
@@ -0,0 +1,25 @@
+From a5db4719510bb6181bfb1d95b19eb024c8957657 Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Wed, 16 Nov 2011 11:08:52 +0100
+Subject: [PATCH] Use PY_CPPFLAGS in Modules/makesetup
+
+---
+ Modules/makesetup |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Modules/makesetup b/Modules/makesetup
+index 126ea12..735069e 100755
+--- a/Modules/makesetup
++++ b/Modules/makesetup
+@@ -221,7 +221,7 @@ sed -e 's/[ 	]*#.*//' -e '/^[ 	]*$/d' |
+                 *bsddb.*)
+                     cc="$cc -I\$(DBINC) \$(CCSHARED) \$(CFLAGS) \$(CPPFLAGS)";;
+                 *) 
+-                    cc="$cc  \$(CCSHARED) \$(CFLAGS) \$(CPPFLAGS)";;
++                    cc="$cc  \$(CCSHARED) \$(CFLAGS) \$(CPPFLAGS) \$(PY_CPPFLAGS)";;
+                 esac;;
+ 			*)
+ 				cc="$cc \$(PY_CORE_CFLAGS)";;
+-- 
+1.7.6.1
+

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