summaryrefslogtreecommitdiff
path: root/www/mozilla
diff options
context:
space:
mode:
authortaya <taya@pkgsrc.org>2001-04-02 16:39:53 +0000
committertaya <taya@pkgsrc.org>2001-04-02 16:39:53 +0000
commite76d22cfd5bbd6c36a8294c79ae58e6f30d2c804 (patch)
tree56c11dd080f1ca6ca44d70700a14ecbb207c2d9d /www/mozilla
parentcd60e70ba4047ecda3213af8d8d4896f1f6b59b7 (diff)
downloadpkgsrc-e76d22cfd5bbd6c36a8294c79ae58e6f30d2c804.tar.gz
Disable optimizing for m68k.
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index 0e3d176debe..eb56fcb2bd8 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2001/03/30 09:37:47 taya Exp $
+# $NetBSD: Makefile,v 1.62 2001/04/02 16:39:53 taya Exp $
MOZ_VER= 0.8.1
DISTNAME= mozilla-source-${MOZ_VER}
@@ -30,13 +30,18 @@ USE_X11BASE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-tests \
--disable-debug \
- --enable-optimize \
--with-jpeg=${LOCALBASE} \
--with-png=${LOCALBASE} \
--enable-mathml \
--enable-svg \
--with-extensions=cookie,irc,wallet,xmlextras,xml-rpc
+.if ${MACHINE_ARCH} == "m68k"
+DBG=
+.else
+CONFIGURE_ARGS+= --enable-optimize
+.endif
+
MOZ_LIBDIR= ${PREFIX}/lib/mozilla
MAKE_ENV+= LIBRUNPATH=${MOZ_LIBDIR}
LDFLAGS+= -Wl,-R${MOZ_LIBDIR}