summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shakaryan <omp@gentoo.org>2007-07-21 12:11:23 +0000
committerDavid Shakaryan <omp@gentoo.org>2007-07-21 12:11:23 +0000
commit9ccd5bae13cdb77bd49f0b13d04f3b20c58f0ea4 (patch)
treea5693fbebd824c2a874cf700a3900f6098b8346a /x11-misc/xtrlock
parentUpdate dependencies, add die messages, fix quotes. (diff)
downloadgentoo-2-9ccd5bae13cdb77bd49f0b13d04f3b20c58f0ea4.tar.gz
gentoo-2-9ccd5bae13cdb77bd49f0b13d04f3b20c58f0ea4.tar.bz2
gentoo-2-9ccd5bae13cdb77bd49f0b13d04f3b20c58f0ea4.zip
Update dependencies, add die messages, fix quotes.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'x11-misc/xtrlock')
-rw-r--r--x11-misc/xtrlock/ChangeLog5
-rw-r--r--x11-misc/xtrlock/xtrlock-2.0-r1.ebuild24
2 files changed, 15 insertions, 14 deletions
diff --git a/x11-misc/xtrlock/ChangeLog b/x11-misc/xtrlock/ChangeLog
index cdcaf504ff52..b4890032fafb 100644
--- a/x11-misc/xtrlock/ChangeLog
+++ b/x11-misc/xtrlock/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-misc/xtrlock
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xtrlock/ChangeLog,v 1.11 2007/02/22 00:12:33 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xtrlock/ChangeLog,v 1.12 2007/07/21 12:11:23 omp Exp $
+
+ 21 Jul 2007; David Shakaryan <omp@gentoo.org> xtrlock-2.0-r1.ebuild:
+ Update dependencies, add die messages, fix quotes.
22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
diff --git a/x11-misc/xtrlock/xtrlock-2.0-r1.ebuild b/x11-misc/xtrlock/xtrlock-2.0-r1.ebuild
index eba4f0ab060f..74946abc7984 100644
--- a/x11-misc/xtrlock/xtrlock-2.0-r1.ebuild
+++ b/x11-misc/xtrlock/xtrlock-2.0-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xtrlock/xtrlock-2.0-r1.ebuild,v 1.8 2006/01/13 12:21:05 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xtrlock/xtrlock-2.0-r1.ebuild,v 1.9 2007/07/21 12:11:23 omp Exp $
inherit eutils flag-o-matic
@@ -14,30 +14,28 @@ LICENSE="GPL-2"
KEYWORDS="x86 ppc ~amd64"
IUSE=""
-RDEPEND="|| ( (
- x11-libs/libX11
- x11-misc/imake )
- virtual/x11 )"
+RDEPEND="x11-libs/libX11
+ x11-misc/imake"
DEPEND="${RDEPEND}
- || ( x11-proto/xproto virtual/x11 )"
+ x11-proto/xproto"
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-overflow.patch
- epatch ${FILESDIR}/${P}-gcc34.patch
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-overflow.patch"
+ epatch "${FILESDIR}/${P}-gcc34.patch"
}
src_compile() {
- xmkmf || die
+ xmkmf || die "xmkmf failed"
cp Makefile Makefile.orig
- make CFLAGS="${CFLAGS} -DSHADOW_PWD" xtrlock || die
+ make CFLAGS="${CFLAGS} -DSHADOW_PWD" xtrlock || die "make failed"
}
src_install() {
dobin xtrlock
- chmod u+s ${D}/usr/bin/xtrlock
+ chmod u+s "${D}/usr/bin/xtrlock"
mv xtrlock.man xtrlock.1
doman xtrlock.1
}