diff options
author | 2012-09-23 20:17:59 +0000 | |
---|---|---|
committer | 2012-09-23 20:17:59 +0000 | |
commit | 5155cb12d1123cb708605e8ac32df2b294070d14 (patch) | |
tree | abb110bcecee55660f7095cafdd667d9a3cca492 /sys-block | |
parent | Update use flags and dependencies to match upstream. (diff) | |
download | gentoo-2-5155cb12d1123cb708605e8ac32df2b294070d14.tar.gz gentoo-2-5155cb12d1123cb708605e8ac32df2b294070d14.tar.bz2 gentoo-2-5155cb12d1123cb708605e8ac32df2b294070d14.zip |
Set CC when building gznbd #435932 by Agostino Sarubbo. Add USE=debug support.
(Portage version: 2.2.0_alpha131/cvs/Linux x86_64)
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/nbd/ChangeLog | 6 | ||||
-rw-r--r-- | sys-block/nbd/nbd-3.2.ebuild | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/sys-block/nbd/ChangeLog b/sys-block/nbd/ChangeLog index 56e0cf23b448..a7c92572b2dd 100644 --- a/sys-block/nbd/ChangeLog +++ b/sys-block/nbd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-block/nbd # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.71 2012/09/22 21:26:41 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.72 2012/09/23 20:17:59 vapier Exp $ + + 23 Sep 2012; Mike Frysinger <vapier@gentoo.org> nbd-3.2.ebuild: + Set CC when building gznbd #435932 by Agostino Sarubbo. Add USE=debug + support. 22 Sep 2012; Agostino Sarubbo <ago@gentoo.org> nbd-3.2.ebuild: Stable for amd64, wrt bug #433357 diff --git a/sys-block/nbd/nbd-3.2.ebuild b/sys-block/nbd/nbd-3.2.ebuild index 970eb0a110a4..6c8c96308a3a 100644 --- a/sys-block/nbd/nbd-3.2.ebuild +++ b/sys-block/nbd/nbd-3.2.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/nbd-3.2.ebuild,v 1.2 2012/09/22 21:26:41 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/nbd-3.2.ebuild,v 1.3 2012/09/23 20:17:59 vapier Exp $ EAPI="4" +inherit toolchain-funcs + DESCRIPTION="Userland client/server for kernel network block device" HOMEPAGE="http://nbd.sourceforge.net/" SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2" @@ -11,7 +13,7 @@ SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc ~ppc64 ~x86" -IUSE="zlib" +IUSE="debug zlib" RDEPEND=">=dev-libs/glib-2.0 zlib? ( sys-libs/zlib )" @@ -21,12 +23,13 @@ DEPEND="${RDEPEND} src_configure() { econf \ --enable-lfs \ - --enable-syslog + --enable-syslog \ + $(use_enable debug) } src_compile() { default - use zlib && emake -C gznbd + use zlib && emake -C gznbd CC="$(tc-getCC)" } src_install() { |