summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/slock')
-rw-r--r--x11-misc/slock/ChangeLog5
-rw-r--r--x11-misc/slock/slock-1.1.ebuild6
2 files changed, 8 insertions, 3 deletions
diff --git a/x11-misc/slock/ChangeLog b/x11-misc/slock/ChangeLog
index fdc2196d0693..fabe8cb327b7 100644
--- a/x11-misc/slock/ChangeLog
+++ b/x11-misc/slock/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-misc/slock
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.37 2012/10/29 04:32:45 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.38 2012/10/29 04:38:42 jer Exp $
+
+ 29 Oct 2012; Jeroen Roovers <jer@gentoo.org> slock-1.1.ebuild:
+ Add savedconfig support for config.mk to set your favourite colours.
*slock-1.1 (29 Oct 2012)
diff --git a/x11-misc/slock/slock-1.1.ebuild b/x11-misc/slock/slock-1.1.ebuild
index 71b9c2186a1c..cec54b035596 100644
--- a/x11-misc/slock/slock-1.1.ebuild
+++ b/x11-misc/slock/slock-1.1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/slock-1.1.ebuild,v 1.1 2012/10/29 04:32:45 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/slock-1.1.ebuild,v 1.2 2012/10/29 04:38:42 jer Exp $
EAPI=4
-inherit toolchain-funcs
+inherit savedconfig toolchain-funcs
DESCRIPTION="simple X screen locker"
HOMEPAGE="http://tools.suckless.org/slock"
@@ -31,6 +31,7 @@ src_prepare() {
if use elibc_FreeBSD; then
sed -i -e 's/-DHAVE_SHADOW_H//' config.mk || die
fi
+ restore_config config.mk
tc-export CC
}
@@ -38,4 +39,5 @@ src_compile() { emake slock; }
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" install
+ save_config config.mk
}