pkgsrc/lang/python24/patches
recht 24793f62f2 Fix module compilation / libpython build on Darwin. This enables modules
not part of the std. Python install to work again.
Secondly, add a patch from Christoph Ludwig (
http://sourceforge.net/tracker/?func=detail&aid=1324762&group_id=5470&atid=305470
)
which contains the following changes (from the SourceForge post):

1) The configure option --with-cxx is renamed
--with-cxx-main. This was done to avoid surprising the user
by the changed meaning. Furthermore, it is now possible
that CXX has a different value than provided by
--with-cxx-main, so the old name would have been
confusing.

2) The compiler used to translate python's main() function is
stored in the configure / Makefile variable MAINCC. By
default, MAINCC=$(CC). If --with-cxx-main is given (without
an appended compiler name), then MAINCC=$(CXX). If
--with-cxx-main=<compiler> is on the configure command
line, then MAINCC=<compiler>. Additionally, configure sets
CXX=<compiler> unless CXX was already set on the
configure command line.

3) The command used to link the python executable is (as
before) stored in LINKCC. By default, LINKCC='$(PURIFY)
$(MAINCC)', i.e. the linker front-end is the compiler used to
translate main(). If necessary, LINKCC can be set on the
configure command line in which case it won't be altered.

4) If CXX is not set by the user (on the command line or via
--with-cxx-main), then configure tries several likely C++
compiler names. CXX is assigned the first name that refers
to a callable program in the system. (CXX is set even if
python is built with a C compiler only, so distutils can build
C++ extensions.)

5) Modules/ccpython.cc is no longer used and can be
removed.
2006-01-23 08:00:02 +00:00
..
patch-aa
patch-ab
patch-ac
patch-ad
patch-ae Update to Python 2.4.2 2005-10-01 21:12:05 +00:00
patch-af Fix module compilation / libpython build on Darwin. This enables modules 2006-01-23 08:00:02 +00:00
patch-ag
patch-ah Update to Python 2.4.2 2005-10-01 21:12:05 +00:00
patch-ai
patch-aj
patch-ak
patch-al Fix module compilation / libpython build on Darwin. This enables modules 2006-01-23 08:00:02 +00:00
patch-am update to Python 2.4.1 2005-05-09 20:37:51 +00:00
patch-an Fix Python's makesetup script to treat -pthread as linker flag. 2005-11-16 19:18:58 +00:00