summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-11-26 01:10:35 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-11-26 01:10:35 +0000
commitbac03917c928b82d4e510e802cb3f1107c7ccfa7 (patch)
treeb5f5144bac970a1be502bd4ab24e4355bd305a57 /app-misc/away/away-0.9.5-r1.ebuild
parentAdd a new revision with build fix for --as-needed and proper pam.d file. (diff)
downloadhistorical-bac03917c928b82d4e510e802cb3f1107c7ccfa7.tar.gz
historical-bac03917c928b82d4e510e802cb3f1107c7ccfa7.tar.bz2
historical-bac03917c928b82d4e510e802cb3f1107c7ccfa7.zip
Fix CFLAGS and CC respecting too.
Package-Manager: portage-2.2_rc16/cvs/Linux 2.6.27-gentoo-r4 x86_64
Diffstat (limited to 'app-misc/away/away-0.9.5-r1.ebuild')
-rw-r--r--app-misc/away/away-0.9.5-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/app-misc/away/away-0.9.5-r1.ebuild b/app-misc/away/away-0.9.5-r1.ebuild
index 78b8215fc7ba..f2e3c1b44c23 100644
--- a/app-misc/away/away-0.9.5-r1.ebuild
+++ b/app-misc/away/away-0.9.5-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/away/away-0.9.5-r1.ebuild,v 1.1 2008/11/26 01:09:07 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/away/away-0.9.5-r1.ebuild,v 1.2 2008/11/26 01:10:35 flameeyes Exp $
-inherit pam
+inherit pam toolchain-funcs flag-o-matic
DESCRIPTION="Terminal locking program with few additional features"
HOMEPAGE="http://unbeatenpath.net/software/away/"
@@ -24,7 +24,9 @@ src_unpack() {
"${S}"/Makefile || die "Makefile fix failed"
}
src_compile() {
- emake || die
+ append-flags -pthread
+
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die
}
src_install() {