diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-02-20 18:12:19 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-02-20 18:12:19 +0000 |
commit | d8e6913134c0a5ee17306f2f6f61a09b6638a91f (patch) | |
tree | b2a607d97365786cf5a620c9a48a0f65313ade46 /www-client/surf | |
parent | Dep fix for #305925 (diff) | |
download | gentoo-2-d8e6913134c0a5ee17306f2f6f61a09b6638a91f.tar.gz gentoo-2-d8e6913134c0a5ee17306f2f6f61a09b6638a91f.tar.bz2 gentoo-2-d8e6913134c0a5ee17306f2f6f61a09b6638a91f.zip |
Support savedconfig as proposed by John Brendler (bug #306091).
(Portage version: 2.2_rc63/cvs/Linux i686)
Diffstat (limited to 'www-client/surf')
-rw-r--r-- | www-client/surf/ChangeLog | 5 | ||||
-rw-r--r-- | www-client/surf/surf-0.3.ebuild | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/www-client/surf/ChangeLog b/www-client/surf/ChangeLog index 0100915a75af..60334deb1f7e 100644 --- a/www-client/surf/ChangeLog +++ b/www-client/surf/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for www-client/surf # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/surf/ChangeLog,v 1.2 2010/02/12 17:33:43 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/surf/ChangeLog,v 1.3 2010/02/20 18:12:19 jer Exp $ + + 20 Feb 2010; Jeroen Roovers <jer@gentoo.org> surf-0.3.ebuild: + Support savedconfig as proposed by John Brendler (bug #306091). 12 Feb 2010; Jeroen Roovers <jer@gentoo.org> surf-0.3.ebuild: Remove P from DESCRIPTION. diff --git a/www-client/surf/surf-0.3.ebuild b/www-client/surf/surf-0.3.ebuild index 3278d25fb8e4..bba04c73d533 100644 --- a/www-client/surf/surf-0.3.ebuild +++ b/www-client/surf/surf-0.3.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/surf/surf-0.3.ebuild,v 1.2 2010/02/12 17:33:43 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/surf/surf-0.3.ebuild,v 1.3 2010/02/20 18:12:19 jer Exp $ EAPI="2" -inherit toolchain-funcs +inherit savedconfig toolchain-funcs DESCRIPTION="a simple web browser based on WebKit/GTK+" HOMEPAGE="http://surf.suckless.org/" @@ -26,6 +26,7 @@ src_prepare() { -e 's|^LDFLAGS.*|LDFLAGS += $(LIBS)|g' \ -e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall $(INCS) $(CPPFLAGS)|g' \ config.mk Makefile || die "sed failed" + restore_config config.h } src_compile() { @@ -34,4 +35,5 @@ src_compile() { src_install() { emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed" + save_config config.h } |