diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2003-02-23 13:19:54 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2003-02-23 13:19:54 +0000 |
commit | 1c1edeeb96a3e61dcd4f4a9b7b60edab5eea4c2a (patch) | |
tree | 3cd5b40c39669df96a6fc9ce424fcbf988266917 /net-www/galeon | |
parent | fix for #16205 (diff) | |
download | gentoo-2-1c1edeeb96a3e61dcd4f4a9b7b60edab5eea4c2a.tar.gz gentoo-2-1c1edeeb96a3e61dcd4f4a9b7b60edab5eea4c2a.tar.bz2 gentoo-2-1c1edeeb96a3e61dcd4f4a9b7b60edab5eea4c2a.zip |
tweak snapshot behaviour
Diffstat (limited to 'net-www/galeon')
-rw-r--r-- | net-www/galeon/ChangeLog | 8 | ||||
-rw-r--r-- | net-www/galeon/galeon-1.2.8.ebuild | 13 |
2 files changed, 16 insertions, 5 deletions
diff --git a/net-www/galeon/ChangeLog b/net-www/galeon/ChangeLog index 0dffc4d63c17..3f9ee6a69b1c 100644 --- a/net-www/galeon/ChangeLog +++ b/net-www/galeon/ChangeLog @@ -1,9 +1,15 @@ # ChangeLog for net-www/galeon # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/galeon/ChangeLog,v 1.34 2003/02/19 05:54:41 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/galeon/ChangeLog,v 1.35 2003/02/23 13:19:54 azarah Exp $ *galeon-1.2.8 (19 Feb 2003) + 23 Feb 2003; Martin Schlemmer <azarah@gentoo.org> galeon-1.2.8.ebuild : + Change snapshot param to ./configure to set it to the current version + of mozilla running. The DEPEND *should* ensure that we have the correct + version of mozilla installed, but this should also enable more experienced + users to say build galeon against mozilla-1.3b without hacking this. + 19 Feb 2003; Martin Schlemmer <azarah@gentoo.org> galeon-1.2.8.ebuild : Update version. diff --git a/net-www/galeon/galeon-1.2.8.ebuild b/net-www/galeon/galeon-1.2.8.ebuild index b5e2ca1c7404..3573ac514d42 100644 --- a/net-www/galeon/galeon-1.2.8.ebuild +++ b/net-www/galeon/galeon-1.2.8.ebuild @@ -1,11 +1,13 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/galeon/galeon-1.2.8.ebuild,v 1.1 2003/02/19 05:54:41 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/galeon/galeon-1.2.8.ebuild,v 1.2 2003/02/23 13:19:54 azarah Exp $ IUSE="nls" inherit eutils libtool +REQ_MOZ_VER="1.2" + S="${WORKDIR}/${P}" DESCRIPTION="A GNOME Web browser based on gecko (mozilla's rendering engine)" SRC_URI="http://download.sourceforge.net/${PN}/${P}.tar.gz @@ -16,7 +18,7 @@ LICENSE="GPL-2" KEYWORDS="~x86 ~ppc ~alpha" SLOT="0" -RDEPEND="=net-www/mozilla-1.2* +RDEPEND="=net-www/mozilla-${REQ_MOZ_VER}* >=gnome-base/gnome-libs-1.4.1.4 <=gnome-base/libglade-0.99.0 =gnome-base/gnome-vfs-1.0* @@ -61,7 +63,10 @@ src_compile() { elibtoolize - local myconf="" + local myconf= + local moz_ver="`pkg-config --modversion mozilla-xpcom | cut -d. -f1,2 2>/dev/null`" + + [ -z "${moz_ver}" ] && moz_ver="${REQ_MOZ_VER}" use nls || myconf="${myconf} --disable-nls" # use bonobo && myconf="${myconf} --enable-gnome-file-selector" @@ -78,7 +83,7 @@ src_compile() { --disable-werror \ --disable-install-schemas \ --enable-nautilus-view=no \ - --with-mozilla-snapshot=1.2 \ + --with-mozilla-snapshot=${moz_ver} \ ${myconf} || die emake || make || die |