summaryrefslogtreecommitdiff
path: root/mail/imap-uw
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-01-23 01:28:36 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-01-23 01:28:36 +0000
commitf94cd253c57ae07d904592dbef1cb4943963bc35 (patch)
tree6fcec845955f2a460a17356193fa4ed5651d65c3 /mail/imap-uw
parent64ee8c09abd8f623268f6f2315d69e5647dd1700 (diff)
downloadpkgsrc-f94cd253c57ae07d904592dbef1cb4943963bc35.tar.gz
Reduce optimization level on alpha to -O to avoid compiler bugs. Should address
PR pkg/19858 submitted by Tim Roden.
Diffstat (limited to 'mail/imap-uw')
-rw-r--r--mail/imap-uw/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
index 9d80a56ac01..141f37cd779 100644
--- a/mail/imap-uw/Makefile
+++ b/mail/imap-uw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2002/12/27 05:47:14 uebayasi Exp $
+# $NetBSD: Makefile,v 1.52 2003/01/23 01:28:36 dmcmahill Exp $
DISTNAME= imap-2002a.DEV.SNAP-0212051126
PKGNAME= imap-uw-2002.1rc1
@@ -70,6 +70,16 @@ ALL_TARGET+= SPECIALAUTHENTICATORS="ssl"
ALL_TARGET+= SSLTYPE="unix"
.endif
+# reduce optimization level on alpha to avoid compiler bugs
+.if ${OPSYS} == "NetBSD"
+. if (${MACHINE_ARCH} == "alpha")
+CPPFLAGS:= ${CPPFLAGS:C/-O[0-9]*/-O/g}
+CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O/g}
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
+. endif
+.endif
+
post-extract:
#
# Change references to the built library to ${CCLIENT_LIB}.