Commit graph

33 commits

Author SHA1 Message Date
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
recht
a269d5cc93 Extend some checks to also test for netbsd2 as sys.platform.
Bump PKGREVISIONS accordingly.
2004-08-29 10:44:19 +00:00
recht
d3724c967c Fix PY_PLATNAME for IRIX.
Patch provided by Georg Schwarz in PR pkg/26507

Bump PKGREVISIONS (PLIST change)
2004-08-02 16:59:22 +00:00
recht
4656bfa637 Now that all Python modules have been bl3ified remove the bl2 support. 2004-05-23 17:15:09 +00:00
minskim
33baa81356 Build python module for zlib unconditionally. This makes
python2[12]{,-pth} build on platforms where zlib.h is not in
/usr/include.
2004-05-16 20:01:59 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
1b2674fcd7 The BUILDLINK_DEPENDS.<pkg> lines should match between the buildlink3.mk
and any pre-existing buildlink2.mk files.
2004-02-10 20:45:01 +00:00
grant
f64b4298c9 use ${EGREP} instead of relying on GNU grep features. 2004-01-29 10:33:51 +00:00
abs
76af5a3859 Add USE_GCC_SHLIB to python2 packages:
python20 to python20-2.0.1nb6
    python21 to python21-2.1.3nb2
    python21-pth to python21-2.1.3nb4
    python22 to python22-2.2.3nb1
    python22-pth to python22-2.2.3nb1
    python23 to python23-2.3.3nb1
    python23-pth to python23-2.3.3nb1
2004-01-27 18:55:30 +00:00
jlam
a8aead0d03 * Follow the new buildlink3 standard and append to BUILDLINK_DEPENDS.<pkg>.
* Use BUILDLINK_{INCDIRS,LIBDIRS}.<pkg> instead of using
  BUILDLINK_{CPPFLAGS,LDFLAGS}.<pkg> since we're just dealing with adding
  directories to the various search paths.
2004-01-25 17:15:12 +00:00
recht
0de275cb42 bl3ify 2004-01-25 16:06:47 +00:00
recht
a8fec98796 add buildlink3.mk 2004-01-25 14:23:39 +00:00
grant
ed3327a4f6 split the common parts of python21 and python21-pth into Makefile.common
and fix PLIST for some modules which are only installed on Solaris.
2004-01-24 07:09:15 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
drochner
c28e4b2fca g/c the now unneeded explicite export of LINK_ALL_LIBGCC_HACK to the
environment
2003-06-06 19:39:03 +00:00
drochner
bfbf0b7d1c add the LINK_ALL_LIBGCC_HACK variable to the interpreter's link line,
so that dynamic libraries using libgcc functions can be loaded
should fix PR pkg/16144 by Brett Slager
2003-06-06 18:14:09 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
drochner
0497ba6ffd Join the "pthread.buildlink2.mk" game.
So we get native threads on -current in the default case.
The stacksize bug is still annoying. To survive the selftests, we'd
have to limit the recursion depth to 13. But then, people trying the
first recursive function would be disappointed if they can't even
calculate fac(15)...
Otoh, add-ons like py-gtk and py-wxwindows pull in dynamic libraries
which require libpthread, so we have to cope with it somehow.
2003-05-07 19:36:01 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
drochner
f9a261061e Make the fcntl(F_WRLCK) selftest work on alpha etc here as well - not as
clean as in the Python-2.2 version because 2.1 doesn't have a "long long"
for struct packing, but good enough because these fields are "0" anyway.
2003-04-15 16:52:28 +00:00
jlam
3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
2003-03-14 19:37:30 +00:00
drochner
f583612700 fix a selftest, so we don't get the impression there is something wrong 2003-02-11 17:52:50 +00:00
drochner
7b0f22b554 security fix: don't use guessable temp file names in execvpe() 2003-01-22 17:05:33 +00:00
jlam
63d51646ba Use BUILDLINK_FILES_CMD.<pkg> instead of manually adding the shell pipeline
to BUILDLINK_FILES.<pkg>.
2002-10-13 07:16:50 +00:00
jlam
4d411616ae Revert previous...GREP is correct. 2002-10-12 09:00:35 +00:00
jlam
8b9c927b0d Use EGREP instead of GREP. 2002-10-12 07:28:14 +00:00
jlam
f2eb380771 Use BUILDLINK_PLIST_CMD instead of grepping the PLIST, which for some of
these python packages is empty.
2002-10-09 23:46:14 +00:00
jlam
ad88f38aa7 Create BUILDLINK_CPPFLAGS and BUILDLINK_LDFLAGS for the python packages so
as to find their headers and libraries.  Also allow "-lpython" to resolve
to the versioned libpython (-lpython2.2, etc.).
2002-10-09 11:40:40 +00:00
jlam
5e618d7691 Python extensions also install headers into ${PYINC}, so we can't just
assume all of those headers belong to the python package.  We use the trick
for kdelibs2 and generate the BUILDLINK_FILES list from the PLIST.
2002-09-20 22:44:18 +00:00
jlam
4a6f7d916d Add buildlink2.mk file for use by other package Makefiles, and by
python/pyversion.mk in particular.
2002-09-20 22:33:29 +00:00
drochner
91070a1ea3 more pth hackery:
increase stack size for created threads, and set the JOINABLE attribute
to "false" (nothing will join() them) to avoid a ressource leak
"works better now"
2002-09-06 17:01:08 +00:00
drochner
0f9b8f5c2f the interpreter itself _can_ be built with buildlink2 2002-09-04 14:25:17 +00:00
drochner
3b06f84ae0 Build a Python version with thread support. For now, we only have
devel/pth, which tends to coredumps sometimes. But a number of Python
packages insists in threads, so we have to start somewhere.
2002-08-20 19:58:58 +00:00