pkgsrc/lang/ruby19-base/hacks.mk
taca 8eecc9adca Importing ruby19-base 1.9.2pl0.
This package is Ruby 1.9 based release.

And this new release has several features and some incompatibility.
Please refer changes from Ruby 1.8.7:

	http://svn.ruby-lang.org/repos/ruby/tags/v1_9_1_0/NEWS
	http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_0/NEWS

*Note* NetBSD isn't "supported" but "perhaps" platform by Ruby.  Please
refer about it "Supported Platform" in
http://www.ruby-lang.org/en/news/2010/08/18/ruby-1-9-2-is-released/.
2010-09-12 03:50:05 +00:00

21 lines
645 B
Makefile

# $NetBSD: hacks.mk,v 1.1.1.1 2010/09/12 03:50:06 taca Exp $
.if !defined(RUBY19_BASE_HACKS_MK)
RUBY19_BASE_HACKS_MK= defined
.include "../../mk/compiler.mk"
### [ Sun Jun 5 10:05:39 CEST 2005 : seb ]
### On NetBSD/sparc64, gcc optimisation, at least for version 3.3.3,
### produces segmentation faulting miniruby binary.
### Also note that `-O' level optimisation produces a miniruby
### binary that loops while running the installation scripts.
###
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
. if !empty(CC_VERSION:Mgcc-3.3.*)
PKG_HACKS+= optimisation
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
. endif
.endif
.endif # RUBY19_BASE_HACKS_MK