From b4b27a43b5bcdf16da6cf8007258808294b3a496 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 14 Feb 2007 07:14:18 +0000 Subject: [PATCH] Add support for USE=zlib. Package-Manager: portage-2.1.2-r9 --- sys-apps/pciutils/ChangeLog | 6 +++++- sys-apps/pciutils/pciutils-2.2.4-r1.ebuild | 7 ++++--- sys-apps/pciutils/pciutils-2.2.4.ebuild | 7 ++++--- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/sys-apps/pciutils/ChangeLog b/sys-apps/pciutils/ChangeLog index a0520211693a..2ef60381b48b 100644 --- a/sys-apps/pciutils/ChangeLog +++ b/sys-apps/pciutils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/pciutils # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.93 2007/02/13 15:15:51 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.94 2007/02/14 07:14:18 vapier Exp $ + + 14 Feb 2007; Mike Frysinger pciutils-2.2.4.ebuild, + pciutils-2.2.4-r1.ebuild: + Add support for USE=zlib. 13 Feb 2007; Gustavo Zacarias pciutils-2.2.4.ebuild: Stable on sparc diff --git a/sys-apps/pciutils/pciutils-2.2.4-r1.ebuild b/sys-apps/pciutils/pciutils-2.2.4-r1.ebuild index 1c73171d4aee..34ce12110a4b 100644 --- a/sys-apps/pciutils/pciutils-2.2.4-r1.ebuild +++ b/sys-apps/pciutils/pciutils-2.2.4-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.4-r1.ebuild,v 1.1 2007/02/10 00:30:42 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.4-r1.ebuild,v 1.2 2007/02/14 07:14:18 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -11,9 +11,9 @@ SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="" +IUSE="zlib" -DEPEND="" +DEPEND="zlib? ( sys-libs/zlib )" src_unpack() { unpack ${A} @@ -25,6 +25,7 @@ src_unpack() { } src_compile() { + export ZLIB=$(use zlib && echo yes || echo no) tc-export AR CC RANLIB emake OPT="${CFLAGS}" || die "emake failed" } diff --git a/sys-apps/pciutils/pciutils-2.2.4.ebuild b/sys-apps/pciutils/pciutils-2.2.4.ebuild index 20f65ce4bd0c..15dfe718307a 100644 --- a/sys-apps/pciutils/pciutils-2.2.4.ebuild +++ b/sys-apps/pciutils/pciutils-2.2.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.4.ebuild,v 1.3 2007/02/13 15:15:51 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.4.ebuild,v 1.4 2007/02/14 07:14:18 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -11,9 +11,9 @@ SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~x86-fbsd" -IUSE="" +IUSE="zlib" -DEPEND="" +DEPEND="zlib? ( sys-libs/zlib )" src_unpack() { unpack ${A} @@ -24,6 +24,7 @@ src_unpack() { } src_compile() { + export ZLIB=$(use zlib && echo yes || echo no) tc-export AR CC RANLIB emake OPT="${CFLAGS}" || die "emake failed" } -- 2.26.2