From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6F86A1388BF for ; Thu, 14 Jan 2016 09:34:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D62F21C009; Thu, 14 Jan 2016 09:34:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BF17421C009 for ; Thu, 14 Jan 2016 09:34:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0E8E340ABF for ; Thu, 14 Jan 2016 09:34:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 03D71E6B for ; Thu, 14 Jan 2016 09:34:14 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1452764011.4d63b331ae89f6faf72026643e039a67df327146.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/btrfs-progs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/btrfs-progs/btrfs-progs-4.3.1.ebuild sys-fs/btrfs-progs/btrfs-progs-9999.ebuild X-VCS-Directories: sys-fs/btrfs-progs/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 4d63b331ae89f6faf72026643e039a67df327146 X-VCS-Branch: master Date: Thu, 14 Jan 2016 09:34:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bc87269f-7b52-44d8-9d16-9fac88eb8b66 X-Archives-Hash: b6f7d272c3e36da228526dde199d6fd9 commit: 4d63b331ae89f6faf72026643e039a67df327146 Author: Mike Gilbert gentoo org> AuthorDate: Thu Jan 14 09:32:14 2016 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Thu Jan 14 09:33:31 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d63b331 sys-fs/btrfs-progs: Add static USE flag Based on patch by Olliver Schinagl. Package-Manager: portage-2.2.26_p103 sys-fs/btrfs-progs/btrfs-progs-4.3.1.ebuild | 14 ++++++++++++-- sys-fs/btrfs-progs/btrfs-progs-9999.ebuild | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/sys-fs/btrfs-progs/btrfs-progs-4.3.1.ebuild b/sys-fs/btrfs-progs/btrfs-progs-4.3.1.ebuild index 59db1d4..d0c3965 100644 --- a/sys-fs/btrfs-progs/btrfs-progs-4.3.1.ebuild +++ b/sys-fs/btrfs-progs/btrfs-progs-4.3.1.ebuild @@ -25,7 +25,7 @@ HOMEPAGE="https://btrfs.wiki.kernel.org" LICENSE="GPL-2" SLOT="0/${libbtrfs_soname}" -IUSE="+convert static-libs" +IUSE="+convert static static-libs" RESTRICT=test # tries to mount repared filesystems @@ -43,6 +43,15 @@ DEPEND="${RDEPEND} app-text/asciidoc app-text/docbook-xml-dtd:4.5 app-text/xmlto + static? ( + dev-libs/lzo:2[static-libs(+)] + sys-apps/util-linux:0[static-libs(+)] + sys-libs/zlib:0[static-libs(+)] + convert? ( + sys-fs/e2fsprogs:0[static-libs(+)] + sys-libs/e2fsprogs-libs:0[static-libs(+)] + ) + ) " if [[ ${PV} == 9999 ]]; then @@ -72,12 +81,13 @@ src_configure() { } src_compile() { - emake V=1 + emake V=1 all $(usev static) } src_install() { local makeargs=( $(usex static-libs '' 'libs_static=') + $(usex static install-static '') ) emake V=1 DESTDIR="${D}" install "${makeargs[@]}" newbashcomp btrfs-completion btrfs diff --git a/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild b/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild index 59db1d4..d0c3965 100644 --- a/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild +++ b/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild @@ -25,7 +25,7 @@ HOMEPAGE="https://btrfs.wiki.kernel.org" LICENSE="GPL-2" SLOT="0/${libbtrfs_soname}" -IUSE="+convert static-libs" +IUSE="+convert static static-libs" RESTRICT=test # tries to mount repared filesystems @@ -43,6 +43,15 @@ DEPEND="${RDEPEND} app-text/asciidoc app-text/docbook-xml-dtd:4.5 app-text/xmlto + static? ( + dev-libs/lzo:2[static-libs(+)] + sys-apps/util-linux:0[static-libs(+)] + sys-libs/zlib:0[static-libs(+)] + convert? ( + sys-fs/e2fsprogs:0[static-libs(+)] + sys-libs/e2fsprogs-libs:0[static-libs(+)] + ) + ) " if [[ ${PV} == 9999 ]]; then @@ -72,12 +81,13 @@ src_configure() { } src_compile() { - emake V=1 + emake V=1 all $(usev static) } src_install() { local makeargs=( $(usex static-libs '' 'libs_static=') + $(usex static install-static '') ) emake V=1 DESTDIR="${D}" install "${makeargs[@]}" newbashcomp btrfs-completion btrfs