summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Gavin <pete@gentoo.org>2001-02-21 20:33:34 +0000
committerPeter Gavin <pete@gentoo.org>2001-02-21 20:33:34 +0000
commitf5ddce0945b39e65f485622b6ef35b4b146e4ebe (patch)
tree78f8a288707c9a3d7f9714c555e15fc4f932e998 /net-www
parentnew (diff)
downloadhistorical-f5ddce0945b39e65f485622b6ef35b4b146e4ebe.tar.gz
historical-f5ddce0945b39e65f485622b6ef35b4b146e4ebe.tar.bz2
historical-f5ddce0945b39e65f485622b6ef35b4b146e4ebe.zip
changed mozill-0.8 to only enable debugging if ${DEBUG} is set
Diffstat (limited to 'net-www')
-rw-r--r--net-www/mozilla/mozilla-0.8.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/net-www/mozilla/mozilla-0.8.ebuild b/net-www/mozilla/mozilla-0.8.ebuild
index cd84030f2b53..39c129b8285b 100644
--- a/net-www/mozilla/mozilla-0.8.ebuild
+++ b/net-www/mozilla/mozilla-0.8.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-0.8.ebuild,v 1.1 2001/02/16 17:49:05 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-0.8.ebuild,v 1.2 2001/02/21 20:33:34 pete Exp $
A=mozilla-source-${PV}.tar.gz
S=${WORKDIR}/mozilla
@@ -17,12 +17,16 @@ DEPEND=">=gnome-base/ORBit-0.5.6
>=media-libs/libpng-1.0.7"
src_compile() {
-
cd ${S}
- try ./configure --prefix=/opt/mozilla --host=${CHOST} \
- --with-gtk -enable-mathml --enable-svg
+ if [ "${DEBUG}" ]
+ then
+ try ./configure --prefix=/opt/mozilla --host=${CHOST} \
+ --with-gtk -enable-mathml --enable-svg
+ else
+ try ./configure --prefix=/opt/mozilla --host=${CHOST} \
+ --with-gtk -enable-mathml --enable-svg --disable-debug
+ fi
try make
-
}
src_install () {