Commit graph

71 commits

Author SHA1 Message Date
joerg
653cfdaeb5 Always build depend on readline, so that devel/py-readline can pick up
the right config. Bump revision.
2008-07-14 14:42:51 +00:00
tnn
eac0b12cfd Fix botched PLIST_VARS conversion. 2008-04-13 11:03:33 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
drochner
b9e90c2488 update to 2.4.5
This release includes just a small number of fixes, primarily preventing
crashes of the interpreter in certain boundary cases.
2008-04-11 10:44:08 +00:00
drochner
95931af496 fix possible buffer overflow by negative atguments to zlib.flush(),
from upstream CVS, bump PKGREVISION
2008-04-11 10:32:33 +00:00
joerg
e26004958b Don't use FreeBSD's bluetooth define on DragonFly as well.
From PR 37821.
2008-02-22 13:03:25 +00:00
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
adrianp
69f8937d0b Fix builds on Darwin 2007-12-16 16:44:51 +00:00
tron
9508c23e2a Fix build problems under Mac OS X Leopard. 2007-12-15 18:43:31 +00:00
wiz
1900e4b154 Remove Ex-MASTER_SITE. From Zafer Aydogan. 2007-12-02 11:17:22 +00:00
joerg
fb376375ff Don't force su-clean on DESTDIR users. 2007-10-28 15:30:44 +00:00
joerg
b626b37fa4 NetBSD has a 4-argument mremap, so adjust for that. 2007-07-17 21:08:52 +00:00
adrianp
2fb736a53a s/PRIVILEGED_STAGE/PRIVILEGED_STAGES/g as it could refer to multiple
stages in the future.  Suggested by rillig@
2007-07-02 20:24:27 +00:00
adrianp
ecedaf57d5 Add PRIVILEGED_STAGE+= clean (NetBSD only) 2007-07-01 00:10:18 +00:00
dmcmahill
3e50b8ba51 repair build on SunOS-5.9 2007-06-15 21:08:41 +00:00
tron
36cdb45af2 We have to use GNU make under Mac OS X because the "configure" script
generates a GNU make specific makefile on this platform.
2007-06-08 22:16:25 +00:00
wiz
1e8671d641 Update to 2.4.4:
We are pleased to announce the release of Python 2.4.4 (FINAL), a
bugfix release of Python 2.4, on October 18, 2006.

Important: 2.4.4 includes a security fix (PSF-2006-001) for the
repr() of unicode strings in wide unicode builds (UCS-4) [does not
affect pkgsrc]

Python 2.4 is now in bugfix-only mode; no new features are being
added. At least 80 bugs have been squished since Python 2.4.3,
including a number of bugs and potential bugs found by with the
Coverity and Klocwork static analysis tools. We'd like to offer
our thanks to both these firms for making this available for open
source projects - see their websites if you're interested.
2007-06-08 14:16:15 +00:00
tnn
6aeb597b5b correct installation and plist on hpux 2007-04-22 20:12:43 +00:00
joerg
cd0ebd2244 Fix build on FreeBSD. 2006-12-27 20:49:04 +00:00
joerg
450decce94 On NetBSD, assume that MKYP=no when /usr/bin/ypcat doesn't exist.
The NIS module is not available in that case.
Call the regen script with RUNSHARED, so that it finds libpython.so,
even in the DESTDIR case.

XXX The call to regen should be moved to the build phase.
2006-11-03 07:15:41 +00:00
rillig
b2a13218c0 Fixed "test ==" and improved the randomness of $RANDOM. 2006-10-11 18:20:37 +00:00
rillig
d0cfa8cd6b libpython needs the pkgsrc-provided LDFLAGS to resolve all dependencies
at runtime. Fixes PR 34565.
2006-09-20 12:07:19 +00:00
joerg
b6494c15d4 Don't use the Python platform variable to check for OSS support on
FreeBSD, but OPSYS directly. We ignore FreeBSD < 4 anyway, so simply the
handling for newer FreeBSD versions.
2006-08-26 15:29:05 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
tron
ab5ff69efc Don't try to compile in Bluetooth support under NetBSD(-current).
The stub code is not compatible with the API presented by NetBSD.
2006-06-20 13:29:01 +00:00
minskim
2f1eb8ab82 Add a missing file to PLIST.Darwin. Bump PKGREVISION. 2006-06-19 17:50:57 +00:00
jlam
44b37cc4b1 Inspecting the setup.py file, one can see that python23 and python24
only build certain modules if the platform is *not* 64-bit.  Correct
the PLIST for those cases.  This should fix the build on non-64bit,
non-x86 platforms, e.g. powerpc.
2006-06-01 15:25:03 +00:00
tv
2aba7d5386 Allow use of C++ support on all platforms for consistency, by setting
USE_LANGUAGES.  Fixes PR pkg/33430.
2006-05-07 15:11:44 +00:00
joerg
053f691e9b Strip of anything after the version number in distutils.util.get_platform
on DragonFly. Since that version is used e.g. as part of the file name
for python eggs, it makes handling easier to match normal pkgsrc
platform policy. Bump revisions of all Python packages.
2006-04-13 02:26:54 +00:00
drochner
a8e1710951 update python24 to 2.4.3
Python 2.4 is now in bugfix-only mode, no new features are being added. At
least 50 bugs have been squashed since Python 2.4.2, including a number of
bugs and potential bugs found by Coverity.
2006-04-12 20:21:48 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
rillig
4c92317d26 Fixed the interpreter paths of some installed Python programs. Bumped
PKGREVISION.
2006-03-13 12:59:08 +00:00
jlam
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
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
recht
2b4ccd65da Revert my last commit (r1.17) and add :Q back to PY_PLATNAME and
PY_VER_SUFFIX.
pointed out by wiz and rillig
2005-12-10 14:36:46 +00:00
recht
2ea37e8631 Remove the :Q from vars that go into PLIST_SUBST, since it breaks
the PLIST generation.
2005-12-09 07:12:28 +00:00
rillig
039c944473 Bumped the PKGREVISION of the packages that have been broken by the recent
"pkglint --autofix" change.
2005-12-08 09:52:15 +00:00
rillig
cc760989d8 Fixed the wrong quoting introduced by the recent "pkglint --autofix". The
variables are already quoted. Noted by wiz.
2005-12-08 08:16:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
joerg
d4b0eafdb2 Fix Python's makesetup script to treat -pthread as linker flag.
This is needed for databases/py-psycopg at least to compile properly.
Since the installed version changed, bump revision.
2005-11-16 19:18:58 +00:00
joerg
39b0ebdbdc When linking against libpython, the dependencies of libpython might be
needed as well. This is especially the case when
lib/pythonXconfig/Makefile is used as done e.g. www/ap2-python.
2005-11-14 22:53:09 +00:00
recht
5d71b63ce0 Update to Python 2.4.2
Python 2.4.2 is a bugfix release of Python 2.4 - Python 2.4 is now in
bugfix-only mode, no new features are being added. More than 60 bugs have
been squashed since Python 2.4.1, including bugs that prevented Python working
properly on 64 bit AIX and HP/UX.

For a detailed list of changes see:
http://python.org/2.4.2/NEWS.html
2005-10-01 21:12:05 +00:00
darcy
4d80fa0954 Bump PKGREVISION for change made to patches/patch-al in revision 1.7 as
suggested by Lubomir Sedlacik in discussions on releng-pkgsrc and pullup
request 727.
2005-09-01 13:14:35 +00:00
darcy
9e697ebec6 Fix problem where LDFLAGS is not being expanded on the command line.
Patch supplied by KISHIMOTO, Makoto <ksmakoto (you know what ) dd.iij4u.or.jp>
Closes PR 31027
2005-08-31 12:13:02 +00:00
darcy
a7ece3e577 There was a bug in Python that was supposed to be fixed but it seems to have
regressed in the latest version.  I have contacted a Python developer to
have this fixed properly.  In the meantime I have created a patch to fix
it in our tree.  See
http://sourceforge.net/tracker/index.php?func=detail&aid=1196315&group_id=5470&atid=105470
for details of the bug.

Bumped PKGREVISION.
2005-08-23 20:55:46 +00:00
grant
9cfb53fa80 include LDFLAGS when linking shared libraries, so they can find their
prerequisite libraries at runtime.

fixes build on Solaris (and probably others).
2005-08-19 05:22:04 +00:00
drochner
3b80fee363 make the fcntl selftest recognize "netbsd3" so that the right
structure padding is used
not application relevant, so I abstain from bumping PKGREVISION
2005-07-29 13:27:26 +00:00