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.
This commit is contained in:
jlam 2005-12-23 04:36:45 +00:00
parent 79ee439b2d
commit fb9673b887
2 changed files with 12 additions and 2 deletions

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.38 2005/12/05 20:50:35 rillig Exp $
# $NetBSD: Makefile,v 1.39 2005/12/23 04:36:45 jlam Exp $
#
DISTNAME= procmail-3.22
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/

10
mail/procmail/hacks.mk Normal file
View file

@ -0,0 +1,10 @@
# $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