Commit graph

40 commits

Author SHA1 Message Date
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
wiz
df008f92b8 patch-an was removed from distinfo during 2.4.1 update, remove file too. 2005-07-21 09:20:08 +00:00
wiz
66ef031f6e Sort. 2005-07-21 09:19:11 +00:00
recht
3454dd63f5 Add devel/gettext-lib as dependency to avoid problems with the locale module not being built.
- fix suggested by Simon Kuhn in PR 29735

Add a patch from darwinports to workaround for deprecated ostat in sys/stat.h on OS X 10.4.

bump PKGREVISION
2005-07-03 19:48:22 +00:00
minskim
158da2aeee Remove an entry for a nonexistent file. 2005-05-29 00:51:17 +00:00
abs
fcb1dc287b Fix srcdist.mk usage for _PYTHON_VERSION 24, and add reminder comment to
python24/Makefile for next update
2005-05-10 22:27:44 +00:00
recht
5bfae3ed28 update to Python 2.4.1
Highlights of this new release include:
  - Bug fixes. According to the release notes, several dozen bugs
    have been fixed, including a fix for the SimpleXMLRPCServer
    security issue (PSF-2005-001).

Also add a patch by Joerg Sonnenberger to add basic support
for DragonFly BSD.

For a detailed list of changes see:
http://python.org/2.4.1/NEWS.html
2005-05-09 20:37:51 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
recht
05b681e81b ride last change.. bump PKGREVISION for the PLIST.common change 2005-02-18 22:26:17 +00:00
recht
ee59204f46 add dl.so to PLIST.common (conditionally)
addresses PR 29402 by salo
2005-02-18 22:25:22 +00:00
drochner
2cefade65d apply the security fix from
http://www.python.org/security/PSF-2005-001/
This disables hierarchical object lookups in SimpleXMLRPCServer.
Unfortunately, this breaks some applications (eg kenosis). Don't
shoot me for this.
bump PKGREVISION
2005-02-04 15:39:04 +00:00
jmmv
df333169fb Convert the python packages to use the alternatives system to install a
bin/python wrapper.  Bump their PKGREVISION to 1.

Also remove the python package.  In order to preserve a similar behavior to
this one using the new framework, start by installing pkg_alternatives.
Then just open its manpage, scroll down to the EXAMPLES section, Applying
filters subsection, and follow the (rather short) directions given there.
2005-01-30 12:44:39 +00:00
tv
a374e2c5f7 Pull in first-stab Interix support from lang/python23. 2005-01-24 21:46:33 +00:00
recht
070ebeec7c Sync DESCR with reality -- python* is now build with thread support. 2005-01-24 20:18:06 +00:00
recht
367eed19fe Build Python with thread support by default and turn the existing
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
2005-01-23 20:41:45 +00:00
minskim
ff7fee44a5 Honor LDFLAGS when building shared libraries on Linux. Previously,
python2[34]{,-pth} failed on Linux when Berkeley DB from pkgsrc was
used.
2004-12-30 21:56:20 +00:00
grant
1a95422e06 remove workaround for Darwin missing poll.h as a more correct fix is
applied globally now.
2004-12-20 13:16:02 +00:00
grant
b9c5791d74 fix missed from previous: Darwin 7.x doesn't appear to want the
"-u PyMac_Error" when linking the shared library.
2004-12-19 05:45:39 +00:00
grant
ea18ba8089 Darwin build fixes:
- ignore poll()
- needs dlopen.buildlink3.mk
- pass -fPIC -fno-common to CC for objects being linked into a shared
  library
2004-12-19 05:30:14 +00:00
recht
e8259ca387 Fix some wrong variable (eg. LOWER_OPSYS -> PY_PLATNAME) names sneaked in
by print-PLIST.
2004-12-06 07:56:38 +00:00
recht
bd1aff620a initial import of Python 2.4
Python is an interpreted, interactive, object-oriented
programming language that combines remarkable power with
very clear syntax. For an introduction to programming in
Python you are referred to the Python Tutorial. The
Python Library Reference documents built-in and standard
types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics
of the core language in (perhaps too) much detail.

Python's basic power can be extended with your own modules
written in C or C++. On most systems such modules may be
dynamically loaded. Python is also adaptable as an exten-
sion language for existing applications. See the internal
documentation for hints.

This package has been compiled without support for threads.
2004-12-05 23:27:28 +00:00