public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger (vapier)" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/gptfdisk: gptfdisk-0.8.6.ebuild ChangeLog
Date: Sun, 12 May 2013 19:57:43 +0000 (UTC)	[thread overview]
Message-ID: <20130512195743.8FA462171D@flycatcher.gentoo.org> (raw)

vapier      13/05/12 19:57:43

  Modified:             gptfdisk-0.8.6.ebuild ChangeLog
  Log:
  Add USE=static support.
  
  (Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)

Revision  Changes    Path
1.9                  sys-apps/gptfdisk/gptfdisk-0.8.6.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gptfdisk/gptfdisk-0.8.6.ebuild?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gptfdisk/gptfdisk-0.8.6.ebuild?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gptfdisk/gptfdisk-0.8.6.ebuild?r1=1.8&r2=1.9

Index: gptfdisk-0.8.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/gptfdisk/gptfdisk-0.8.6.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- gptfdisk-0.8.6.ebuild	7 May 2013 17:47:40 -0000	1.8
+++ gptfdisk-0.8.6.ebuild	12 May 2013 19:57:43 -0000	1.9
@@ -1,10 +1,10 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gptfdisk/gptfdisk-0.8.6.ebuild,v 1.8 2013/05/07 17:47:40 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gptfdisk/gptfdisk-0.8.6.ebuild,v 1.9 2013/05/12 19:57:43 vapier Exp $
 
 EAPI=5
 
-inherit eutils flag-o-matic toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="GPT partition table manipulator for Linux"
 HOMEPAGE="http://www.rodsbooks.com/gdisk/"
@@ -13,19 +13,22 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 arm ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~arm-linux ~x86-linux"
-IUSE="kernel_linux +icu"
+IUSE="+icu kernel_linux static"
 
-RDEPEND="
-	dev-libs/popt
-	>=sys-libs/ncurses-5.7-r7
-	icu? ( dev-libs/icu:= )
-	kernel_linux? ( sys-apps/util-linux )" # libuuid
+LIB_DEPEND="dev-libs/popt[static-libs(+)]
+	>=sys-libs/ncurses-5.7-r7[static-libs(+)]
+	icu? ( dev-libs/icu:=[static-libs(+)] )
+	kernel_linux? ( sys-apps/util-linux[static-libs(+)] )" # libuuid
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
 DEPEND="${RDEPEND}
+	static? ( ${LIB_DEPEND} )
 	virtual/pkgconfig"
 
 src_prepare() {
+	tc-export CXX PKG_CONFIG
+
 	if use icu; then
-		append-cxxflags $($(tc-getPKG_CONFIG) --variable=CXXFLAGS icu-io icu-uc)
+		append-cxxflags $(${PKG_CONFIG} --cflags icu-io icu-uc)
 	else
 		sed \
 			-e 's:-licuio::g' \
@@ -36,10 +39,10 @@
 
 	sed \
 		-e '/g++/s:=:?=:g' \
-		-e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" \
+		-e "s:-lncurses:$(${PKG_CONFIG} --libs ncurses):g" \
 		-i Makefile || die
 
-	tc-export CXX
+	use static && append-ldflags -static
 }
 
 src_install() {



1.34                 sys-apps/gptfdisk/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gptfdisk/ChangeLog?rev=1.34&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gptfdisk/ChangeLog?rev=1.34&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/gptfdisk/ChangeLog?r1=1.33&r2=1.34

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/gptfdisk/ChangeLog,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- ChangeLog	7 May 2013 17:47:40 -0000	1.33
+++ ChangeLog	12 May 2013 19:57:43 -0000	1.34
@@ -1,6 +1,9 @@
 # ChangeLog for sys-apps/gptfdisk
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gptfdisk/ChangeLog,v 1.33 2013/05/07 17:47:40 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gptfdisk/ChangeLog,v 1.34 2013/05/12 19:57:43 vapier Exp $
+
+  12 May 2013; Mike Frysinger <vapier@gentoo.org> gptfdisk-0.8.6.ebuild:
+  Add USE=static support.
 
   07 May 2013; Agostino Sarubbo <ago@gentoo.org> gptfdisk-0.8.6.ebuild:
   Stable for ppc64, wrt bug #467718





             reply	other threads:[~2013-05-12 19:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-12 19:57 Mike Frysinger (vapier) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-05-22 21:35 [gentoo-commits] gentoo-x86 commit in sys-apps/gptfdisk: gptfdisk-0.8.6.ebuild ChangeLog Mike Gilbert (floppym)
2013-05-12 20:22 Mike Frysinger (vapier)
2013-05-07 17:47 Agostino Sarubbo (ago)
2013-05-07 13:52 Agostino Sarubbo (ago)
2013-05-05 17:28 Agostino Sarubbo (ago)
2013-05-05 13:58 Agostino Sarubbo (ago)
2013-04-28 10:21 Tomas Chvatal (scarabeus)
2013-04-06 23:29 Mike Gilbert (floppym)
2013-03-31  1:29 Mike Gilbert (floppym)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130512195743.8FA462171D@flycatcher.gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox