summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-11-29 20:18:54 +0000
committerMike Frysinger <vapier@gentoo.org>2011-11-29 20:18:54 +0000
commit3690087f37ac878ca53048989a1f70223e9f30fa (patch)
tree825d5a9760816ce8a6984654c3ccb8382e2b17b3 /sys-block
parentadd USE=zlib support with newer binutils (diff)
downloadgentoo-2-3690087f37ac878ca53048989a1f70223e9f30fa.tar.gz
gentoo-2-3690087f37ac878ca53048989a1f70223e9f30fa.tar.bz2
gentoo-2-3690087f37ac878ca53048989a1f70223e9f30fa.zip
Add USE=zlib control over zlib dep.
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/nbd/ChangeLog5
-rw-r--r--sys-block/nbd/nbd-2.9.25.ebuild13
2 files changed, 11 insertions, 7 deletions
diff --git a/sys-block/nbd/ChangeLog b/sys-block/nbd/ChangeLog
index 3fa82fb0e243..a63dc8c8a34f 100644
--- a/sys-block/nbd/ChangeLog
+++ b/sys-block/nbd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-block/nbd
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.64 2011/11/29 15:27:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.65 2011/11/29 20:18:54 vapier Exp $
+
+ 29 Nov 2011; Mike Frysinger <vapier@gentoo.org> nbd-2.9.25.ebuild:
+ Add USE=zlib control over zlib dep.
*nbd-2.9.25 (29 Nov 2011)
diff --git a/sys-block/nbd/nbd-2.9.25.ebuild b/sys-block/nbd/nbd-2.9.25.ebuild
index 59b42de1ade3..c7a15efc1284 100644
--- a/sys-block/nbd/nbd-2.9.25.ebuild
+++ b/sys-block/nbd/nbd-2.9.25.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/nbd-2.9.25.ebuild,v 1.1 2011/11/29 15:27:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/nbd-2.9.25.ebuild,v 1.2 2011/11/29 20:18:54 vapier Exp $
EAPI="4"
@@ -11,9 +11,10 @@ SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
+IUSE="zlib"
-RDEPEND=">=dev-libs/glib-2.0"
+RDEPEND=">=dev-libs/glib-2.0
+ zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
@@ -24,11 +25,11 @@ src_configure() {
}
src_compile() {
- emake
- emake -C gznbd
+ default
+ use zlib && emake -C gznbd
}
src_install() {
default
- dobin gznbd/gznbd
+ use zlib && dobin gznbd/gznbd
}