diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-06-22 18:10:51 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-06-22 18:10:51 +0000 |
commit | e5943be454f5877bc098a1fe8570b717b28f561f (patch) | |
tree | b2122290fd83203bdc43d4dbfd80e07c3af7cd74 /app-laptop | |
parent | Bump. (diff) | |
download | gentoo-2-e5943be454f5877bc098a1fe8570b717b28f561f.tar.gz gentoo-2-e5943be454f5877bc098a1fe8570b717b28f561f.tar.bz2 gentoo-2-e5943be454f5877bc098a1fe8570b717b28f561f.zip |
Added a check for USE=zlib and checking if sys-apps/pciutils was built with USE=zlib. This closes bug #171022.
(Portage version: 2.1.3_rc4)
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/smcinit/ChangeLog | 6 | ||||
-rw-r--r-- | app-laptop/smcinit/smcinit-0.4.ebuild | 13 |
2 files changed, 15 insertions, 4 deletions
diff --git a/app-laptop/smcinit/ChangeLog b/app-laptop/smcinit/ChangeLog index 6364a8a86a6b..11bf097376d1 100644 --- a/app-laptop/smcinit/ChangeLog +++ b/app-laptop/smcinit/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-laptop/smcinit # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/smcinit/ChangeLog,v 1.5 2007/04/28 17:49:10 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/smcinit/ChangeLog,v 1.6 2007/06/22 18:10:51 wolf31o2 Exp $ + + 22 Jun 2007; Chris Gianelloni <wolf31o2@gentoo.org> smcinit-0.4.ebuild: + Added a check for USE=zlib and checking if sys-apps/pciutils was built with + USE=zlib. This closes bug #171022. 28 Apr 2007; Sven Wegener <swegener@gentoo.org> smcinit-0.4.ebuild: Fix *initd, *confd and *envd calls (#173884, #174266) diff --git a/app-laptop/smcinit/smcinit-0.4.ebuild b/app-laptop/smcinit/smcinit-0.4.ebuild index 9773a8c8067a..0507216a44c8 100644 --- a/app-laptop/smcinit/smcinit-0.4.ebuild +++ b/app-laptop/smcinit/smcinit-0.4.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/smcinit/smcinit-0.4.ebuild,v 1.5 2007/04/28 17:49:10 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/smcinit/smcinit-0.4.ebuild,v 1.6 2007/06/22 18:10:51 wolf31o2 Exp $ inherit eutils -IUSE="" +IUSE="zlib" MY_PV="0.4-1" MY_P="${PN}-${MY_PV}" @@ -32,8 +32,15 @@ src_unpack() src_compile() { + if use zlib + then + LIBS="-lpci -lz" + elif built_with_use sys-apps/pciutils zlib + then + die "You need to build with USE=zlib to match sys-apps/pcituils" + fi econf || die "Configuration failed" - emake CFLAGS="${CFLAGS}" || die "Compilation failed" + emake LIBS="${LIBS}" CFLAGS="${CFLAGS}" || die "Compilation failed" } src_install() |