summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-10-29 04:38:42 +0000
committerJeroen Roovers <jer@gentoo.org>2012-10-29 04:38:42 +0000
commit30f95f9fb39b4b42319bd455de2bcd0924afdc99 (patch)
treefdf9b23a716d0cda70c8fcb083109048450eb40a /x11-misc/slock
parentVersion bump. Verbose build output. (diff)
downloadgentoo-2-30f95f9fb39b4b42319bd455de2bcd0924afdc99.tar.gz
gentoo-2-30f95f9fb39b4b42319bd455de2bcd0924afdc99.tar.bz2
gentoo-2-30f95f9fb39b4b42319bd455de2bcd0924afdc99.zip
Add savedconfig support for config.mk to set your favourite colours.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key A792A613)
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
}