summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2007-08-24 21:39:08 +0000
committerCédric Krier <cedk@gentoo.org>2007-08-24 21:39:08 +0000
commit83dc08e8bb7ead90ca59fc22cd0d6d3ac743dd2b (patch)
treef9c9de6cf562e9a1bf3accf5d9bb3d6052866383 /app-laptop
parentInitial import (diff)
downloadgentoo-2-83dc08e8bb7ead90ca59fc22cd0d6d3ac743dd2b.tar.gz
gentoo-2-83dc08e8bb7ead90ca59fc22cd0d6d3ac743dd2b.tar.bz2
gentoo-2-83dc08e8bb7ead90ca59fc22cd0d6d3ac743dd2b.zip
Fix for bug #190017
(Portage version: 2.1.2.11)
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/macbook-backlight/ChangeLog5
-rw-r--r--app-laptop/macbook-backlight/macbook-backlight-0.1.ebuild7
2 files changed, 9 insertions, 3 deletions
diff --git a/app-laptop/macbook-backlight/ChangeLog b/app-laptop/macbook-backlight/ChangeLog
index d0baf2ac0f31..21d2e3c8f031 100644
--- a/app-laptop/macbook-backlight/ChangeLog
+++ b/app-laptop/macbook-backlight/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-laptop/macbook-backlight
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/macbook-backlight/ChangeLog,v 1.4 2007/08/11 14:37:58 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/macbook-backlight/ChangeLog,v 1.5 2007/08/24 21:39:08 cedk Exp $
+
+ 24 Aug 2007; Cédric Krier <cedk@gentoo.org> macbook-backlight-0.1.ebuild:
+ Fix for bug #190017
11 Aug 2007; Steve Dibb <beandog@gentoo.org> macbook-backlight-0.1.ebuild:
amd64 stable, bug 185315
diff --git a/app-laptop/macbook-backlight/macbook-backlight-0.1.ebuild b/app-laptop/macbook-backlight/macbook-backlight-0.1.ebuild
index ed73d878afdf..d1cdcfeae3ac 100644
--- a/app-laptop/macbook-backlight/macbook-backlight-0.1.ebuild
+++ b/app-laptop/macbook-backlight/macbook-backlight-0.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/macbook-backlight/macbook-backlight-0.1.ebuild,v 1.4 2007/08/11 14:37:58 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/macbook-backlight/macbook-backlight-0.1.ebuild,v 1.5 2007/08/24 21:39:08 cedk Exp $
-inherit toolchain-funcs
+inherit toolchain-funcs eutils flag-o-matic
DESCRIPTION="a tool to control the backlight intensity of macbook"
HOMEPAGE="http://akira.ced.homedns.org/macbook-backlight/"
@@ -17,6 +17,9 @@ DEPEND="sys-apps/pciutils"
RDEPEND=$DEPEND
src_compile() {
+ if built_with_use sys-apps/pciutils zlib ; then
+ append-ldflags -lz
+ fi
emake CC=$(tc-getCC) || die "emake failed"
}