diff options
author | recht <recht> | 2006-01-23 08:00:02 +0000 |
---|---|---|
committer | recht <recht> | 2006-01-23 08:00:02 +0000 |
commit | b2811eaf70cde65dfb62713f69e04c40980959d7 (patch) | |
tree | ae81ad950806831caf6cdb910d074f37ee6a5283 /lang/python24/distinfo | |
parent | 7ec4318ce545a0b9c2028ba304a5b448a5599cb3 (diff) | |
download | pkgsrc-b2811eaf70cde65dfb62713f69e04c40980959d7.tar.gz |
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.
Diffstat (limited to 'lang/python24/distinfo')
-rw-r--r-- | lang/python24/distinfo | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python24/distinfo b/lang/python24/distinfo index 17e9ed4f057..fd29c555e05 100644 --- a/lang/python24/distinfo +++ b/lang/python24/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.15 2005/11/16 19:18:59 joerg Exp $ +$NetBSD: distinfo,v 1.16 2006/01/23 08:00:02 recht Exp $ SHA1 (Python-2.4.2.tar.bz2) = a1f1c466fb4a06f612faac75dbaa8bc81e609c2e RMD160 (Python-2.4.2.tar.bz2) = c511d2b76b5394742d285e71570a2bcd3c1fa871 @@ -8,12 +8,12 @@ SHA1 (patch-ab) = 5402e5b8f0c8e919fdf5c2c4baab0423eb74ada5 SHA1 (patch-ac) = 97d2dcbc93986dc13d7866025269ae5f15827a24 SHA1 (patch-ad) = 0fa1c66fa0ad9ce345c44b13fd3897975837c72e SHA1 (patch-ae) = e5dfe40afe9b1e4354a273f4ce76340f1440e1ee -SHA1 (patch-af) = 485eaa5cc5bd0f9f1cda1815fa6d7a068bd0820c +SHA1 (patch-af) = 15fa49e81d2a8d05654a7ad1ab0a37b58364ec3d SHA1 (patch-ag) = 0cdc08af9d37ae7d00a06ab81c30efa021ef28ac SHA1 (patch-ah) = 8d56adee024b29e5d538a9fcd1994e38eb2b33c1 SHA1 (patch-ai) = 6435c5a7269c14d94eab6fb9777b9d059507e7b8 SHA1 (patch-aj) = e471737ade95423039661b475f2dd0fc27aa9dac SHA1 (patch-ak) = f2e1d4087a94490bd3589a8c829ec72e04f31f72 -SHA1 (patch-al) = 5aa766853c353a9ceae4513dc896a1d13a548c6c +SHA1 (patch-al) = b4050c86c0fdfe7df8bd90579646f9fa0c987211 SHA1 (patch-am) = 9ce50340d76e8612384f94d4b03414d3f38e35d3 SHA1 (patch-an) = 0ae5b3d547c7dbe1366c5ae6c60c11516e4550b8 |