summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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