pkgsrc/mail/procmail/hacks.mk
jlam fb9673b887 Apply hack noted in PR pkg/30999 -- turn off inline functions when
compiling in order to fix an infinite loop error on Solaris.

Bump the PKGREVISION to 2.
2005-12-23 04:36:45 +00:00

10 lines
323 B
Makefile

# $NetBSD: hacks.mk,v 1.1 2005/12/23 04:36:45 jlam Exp $
### [Fri Dec 23 04:33:11 UTC 2005 : jlam]
### Inlining functions seems to cause strstr() to enter an infinite loop
### on Solaris, so disable it. This fixes PR pkg/30999.
###
.if ${OPSYS} == "SunOS"
PKG_HACKS+= solaris-inline
CFLAGS+= -fno-inline-functions
.endif