diff options
-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 } |