pkgsrc/lang/ruby19-base/hacks.mk
taca 2b3b58da3e * Use the same condition as ruby18-base, about use of
--enable-wide-getaddrinfo.
* Remove utimensat(2) hack since it was temporary (short life)
  NetBSD current's problem.

Bump PKGREVISION.
2011-08-20 13:51:29 +00:00

21 lines
641 B
Makefile

# $NetBSD: hacks.mk,v 1.3 2011/08/20 13:51:29 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