diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-03-31 01:29:40 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-03-31 01:29:40 +0000 |
commit | 33887274a5fa2d9e4c3ecdc6f4612ae81292095d (patch) | |
tree | 18edf6f7bc374667d2ab6633741ca2a8b4b09a03 /sys-apps/gptfdisk | |
parent | Remove mask for app-emacs/yow, package removed. (diff) | |
download | gentoo-2-33887274a5fa2d9e4c3ecdc6f4612ae81292095d.tar.gz gentoo-2-33887274a5fa2d9e4c3ecdc6f4612ae81292095d.tar.bz2 gentoo-2-33887274a5fa2d9e4c3ecdc6f4612ae81292095d.zip |
Append ICU flags to CXXFLAGS with USE=icu, not USE=-icu. Patch by Arfrever.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'sys-apps/gptfdisk')
-rw-r--r-- | sys-apps/gptfdisk/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/gptfdisk/gptfdisk-0.8.6.ebuild | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys-apps/gptfdisk/ChangeLog b/sys-apps/gptfdisk/ChangeLog index b860094aa660..332ad30535d7 100644 --- a/sys-apps/gptfdisk/ChangeLog +++ b/sys-apps/gptfdisk/ChangeLog @@ -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.26 2013/03/29 16:44:20 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gptfdisk/ChangeLog,v 1.27 2013/03/31 01:29:40 floppym Exp $ + + 31 Mar 2013; Mike Gilbert <floppym@gentoo.org> gptfdisk-0.8.6.ebuild: + Append ICU flags to CXXFLAGS with USE=icu, not USE=-icu. Patch by Arfrever. *gptfdisk-0.8.6 (29 Mar 2013) diff --git a/sys-apps/gptfdisk/gptfdisk-0.8.6.ebuild b/sys-apps/gptfdisk/gptfdisk-0.8.6.ebuild index 036301c1b589..460e11c9cc8e 100644 --- a/sys-apps/gptfdisk/gptfdisk-0.8.6.ebuild +++ b/sys-apps/gptfdisk/gptfdisk-0.8.6.ebuild @@ -1,6 +1,6 @@ # 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.1 2013/03/29 16:44:20 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gptfdisk/gptfdisk-0.8.6.ebuild,v 1.2 2013/03/31 01:29:40 floppym Exp $ EAPI=5 @@ -24,13 +24,14 @@ DEPEND="${RDEPEND} virtual/pkgconfig" src_prepare() { - if ! use icu; then + if use icu; then + append-cxxflags $($(tc-getPKG_CONFIG) --variable=CXXFLAGS icu-io icu-uc) + else sed \ -e 's:-licuio::g' \ -e 's:-licuuc::g' \ -e 's:-D USE_UTF16::g' \ -i Makefile || die - append-cxxflags $($(tc-getPKG_CONFIG) --variable=CXXFLAGS icu-io icu-uc) fi sed \ |