diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2002-12-25 22:15:50 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2002-12-25 22:15:50 +0000 |
commit | d8a3de060031ace4908286e1169ccc1138183842 (patch) | |
tree | 5d84b4cc889700f5a475ecdc121b0d275f6450ae /net-www | |
parent | add gcc-config support, bug #12689 (diff) | |
download | historical-d8a3de060031ace4908286e1169ccc1138183842.tar.gz historical-d8a3de060031ace4908286e1169ccc1138183842.tar.bz2 historical-d8a3de060031ace4908286e1169ccc1138183842.zip |
dont compile gtk2 support if not forced
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/mozilla/ChangeLog | 8 | ||||
-rw-r--r-- | net-www/mozilla/mozilla-1.2.1-r3.ebuild | 21 |
2 files changed, 27 insertions, 2 deletions
diff --git a/net-www/mozilla/ChangeLog b/net-www/mozilla/ChangeLog index 0db9faab5bfe..37e808a8343c 100644 --- a/net-www/mozilla/ChangeLog +++ b/net-www/mozilla/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-www/mozilla # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/ChangeLog,v 1.75 2002/12/23 20:18:10 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/ChangeLog,v 1.76 2002/12/25 22:15:50 azarah Exp $ + + 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r3.ebuild : + + Add pkg_setup() to not build with gtk2 support if the user did not export + WANT_GTK2="yes". I did this due to the multitude of problems with gtk2 + support (plugins do not work, crashes, etc). 23 Dec 2002; Martin Schlemmer <azarah@gentoo.org> mozilla-1.2.1-r3.ebuild : diff --git a/net-www/mozilla/mozilla-1.2.1-r3.ebuild b/net-www/mozilla/mozilla-1.2.1-r3.ebuild index 59eddf1d9709..14d1a2dd9a0b 100644 --- a/net-www/mozilla/mozilla-1.2.1-r3.ebuild +++ b/net-www/mozilla/mozilla-1.2.1-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.2.1-r3.ebuild,v 1.5 2002/12/23 20:18:10 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla/mozilla-1.2.1-r3.ebuild,v 1.6 2002/12/25 22:15:50 azarah Exp $ IUSE="java crypt ipv6 gtk2 ssl ldap gnome" # Internal USE flags that I do not really want to advertise ... @@ -83,6 +83,25 @@ DEPEND="${RDEPEND} java? ( >=dev-java/java-config-0.2.0 )" +pkg_setup() { + + if [ "${WANT_GTK2}" != "yes" ] + then + echo + eerror "Due to the many bugs related with gtk+-2.x support" + eerror "in mozilla, this ebuild will not build with gtk2 support," + eerror "if you do not do:" + eerror + eerror " # WANT_GTK2=\"yes\" emerge mozilla" + eerror + eerror "The alternative is to merge without gtk2 support, which" + eerror "is recommended:" + eerror + eerror " # USE=\"-gtk2\" emerge mozilla" + die "Wont build gtk2 support without being forced!" + fi +} + moz_setup() { # Setup CC and CXX |