summaryrefslogtreecommitdiff
path: root/net/isic
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-02-09 16:33:57 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-02-09 16:33:57 +0000
commit869fc305221541228f05bd008c218ca3e95ea803 (patch)
tree69d50b333c13c4de75901a7d4f79a255d6dc9718 /net/isic
parent21473236f52cb54289b21dacb6fbcea552b800cc (diff)
downloadpkgsrc-869fc305221541228f05bd008c218ca3e95ea803.tar.gz
reduce optimization on alpha to avoid a compiler bug
Diffstat (limited to 'net/isic')
-rw-r--r--net/isic/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/net/isic/Makefile b/net/isic/Makefile
index e76d36a7351..880aa2be841 100644
--- a/net/isic/Makefile
+++ b/net/isic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2002/08/25 21:49:59 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2003/02/09 16:33:57 dmcmahill Exp $
#
DISTNAME= isic-0.05
@@ -18,3 +18,18 @@ post-install:
.include "../../devel/libnet/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
+
+# XXX On NetBSD, the egcs and gcc-2.95.3 for:
+# XXX
+# XXX alpha
+# XXX
+# XXX has an optimization bug when compiling with -O2
+#
+.if ${OPSYS} == "NetBSD"
+. if (${MACHINE_ARCH} == "alpha")
+CPPFLAGS:= ${CPPFLAGS:C/-O[0-9]*//g}
+CFLAGS:= ${CFLAGS:C/-O[0-9]*//g}
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
+. endif
+.endif