1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/Mk
Stanislav Sedov ef38fc3bb8 - Don't build ruby with threads support on FreeBSD versions before 7.2
- On FreeBSD >= 7.2 allocate the new thread with adequate amount of stack
  space to run the main ruby code in.  This allows to mitigate problem
  when too low stack space available for ruby when running with pthreads
  enabled.
- Bump portrevision.

The long version.  Before this change we used to link ruby against pthreads
uncoditionally on all versions of FreeBSD.  This is indispensable in order
to load the threaded shared objects withing ruby.  However, this causes a
dramatic decrease in the stack space available as pthreads only allows
up to several megabytes of stack space for the main application threads.
The only solution to this is to create the new thread immediately after
the program start with rigth stack size attributes set.  Nonetheless this
scheme won't work for us on FreeBSD version before 7.2 as malloc implementation
in these versions was not threaded fork safe (i.e. this is impossible to
fork from the threaded program and expect malloc/free functions to work).
Thus the only solution for now can be to disable pthreads entirely on
FreeBSD <= 7.2.  This won't cause any performance/usability problems for
users as Ruby 1.8 uses green threads, however it may prevent <= 7.2
users to load shared libraries linked agains pthreads.

Reported by:	"François Montel" <seanmullen@gmail.com>
Tested by:	Sean Mullen <seanmullen@gmail.com>
2009-10-12 13:15:50 +00:00
..
bsd.apache.mk
bsd.autotools.mk Add libtool>=2.2, that way it will stop from anyone to try to install any 2009-08-19 02:26:27 +00:00
bsd.cmake.mk The FreeBSD KDE is please to announce the release of KDE 4.3.1, 2009-09-01 22:19:47 +00:00
bsd.commands.mk - Move pkg_install commands detection to bsd.commands.mk 2009-08-03 15:36:58 +00:00
bsd.cran.mk
bsd.database.mk Remove obsolete Firebird 1.x : 2009-09-03 15:23:49 +00:00
bsd.destdir.mk
bsd.drupal.mk
bsd.efl.mk
bsd.emacs.mk - Udpate to 23.0.95 pretest 2009-06-23 15:05:32 +00:00
bsd.fpc.mk - Fix display of bogus message 2009-07-13 19:29:53 +00:00
bsd.gcc.mk Add support for USE_GCC=4.5 and USE_GCC=4.5+. Improve the documentation 2009-10-10 11:45:30 +00:00
bsd.gecko.mk - update to jpeg7 2009-07-18 11:11:29 +00:00
bsd.gnome.mk Chase the vte shared lib version. 2009-08-22 17:45:29 +00:00
bsd.gnustep.mk
bsd.gstreamer.mk
bsd.java.mk
bsd.kde4.mk The FreeBSD KDE is please to announce the release of KDE 4.3.1, 2009-09-01 22:19:47 +00:00
bsd.kde.mk
bsd.ldap.mk Update to OpenLDAP 2.4.17. Unfortunately a shared library bump is needed. 2009-07-20 08:13:12 +00:00
bsd.linux-apps.mk . welcome a new graphics/linux-f10-libGLU port; 2009-09-14 10:09:31 +00:00
bsd.linux-rpm.mk Honor OVERRIDE_LINUX_NONBASE_PORTS=f8 after the change to Fedora 10 2009-07-01 20:35:34 +00:00
bsd.local.mk
bsd.lua.mk
bsd.mail.mk
bsd.ocaml.mk
bsd.octave.mk - Fix build 2009-08-23 16:49:00 +00:00
bsd.openssl.mk - fix build for OSVERSION 800105 2009-07-21 17:51:43 +00:00
bsd.perl.mk
bsd.php.mk
bsd.port.mk Format a few comment lines for ts=4 and <80 columns. 2009-09-21 19:13:51 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.python.mk - Update lang/python31 to Python 3.1.1 2009-08-22 07:22:11 +00:00
bsd.qt.mk add qdoc3 component for devel/qt4-qdoc3 2009-08-29 07:34:17 +00:00
bsd.ruby.mk - Don't build ruby with threads support on FreeBSD versions before 7.2 2009-10-12 13:15:50 +00:00
bsd.scons.mk - Fix some typos 2009-08-14 11:34:57 +00:00
bsd.sdl.mk Updated sdl_gfx to 2.0.19 2009-08-02 08:35:34 +00:00
bsd.sites.mk - Retire MASTER_SITE_SOURCEFORGE_EXTENDED, it's no longer needed - all mirrors actually have all distfiles 2009-09-02 15:01:56 +00:00
bsd.tcl.mk - Remove tcl/tk 8.0 support 2009-07-07 07:34:31 +00:00
bsd.wx.mk
bsd.xfce.mk
bsd.xorg.mk