Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 439696 | Differences between
and this patch

Collapse All | Expand All

(-)gptfdisk-0.8.5.ebuild~ (-4 / +15 lines)
Lines 3-9 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gptfdisk/gptfdisk-0.8.5.ebuild,v 1.2 2012/09/29 16:44:31 armin76 Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gptfdisk/gptfdisk-0.8.5.ebuild,v 1.2 2012/09/29 16:44:31 armin76 Exp $
4
4
5
EAPI=4
5
EAPI=4
6
inherit toolchain-funcs
6
inherit flag-o-matic toolchain-funcs
7
7
8
DESCRIPTION="gdisk - GPT partition table manipulator for Linux"
8
DESCRIPTION="gdisk - GPT partition table manipulator for Linux"
9
HOMEPAGE="http://www.rodsbooks.com/gdisk/"
9
HOMEPAGE="http://www.rodsbooks.com/gdisk/"
Lines 16-26 IUSE="" Link Here
16
16
17
RDEPEND="dev-libs/icu
17
RDEPEND="dev-libs/icu
18
	dev-libs/popt
18
	dev-libs/popt
19
	>=sys-libs/ncurses-5.7-r7"
19
	>=sys-libs/ncurses-5.7-r7
20
	kernel_linux? ( sys-apps/util-linux )"
20
DEPEND="${RDEPEND}"
21
DEPEND="${RDEPEND}"
21
22
22
src_compile() {
23
src_prepare() {
23
	emake CXX="$(tc-getCXX)"
24
	sed	-e "s|^\(CC\s*=\).*|\1 $(tc-getCC)|g" \
25
		-e "s|^\(CXX\s*=\).*|\1 $(tc-getCXX)|g" \
26
		-i Makefile || die
27
28
	if icu-config --cxxflags 2>/dev/null | grep -qs "std=\(c\|gnu\)++11"; then
29
		append-cxxflags -std=c++11
30
	fi
24
}
31
}
25
32
26
src_install() {
33
src_install() {
Lines 31-33 src_install() { Link Here
31
	done
38
	done
32
	dodoc NEWS README
39
	dodoc NEWS README
33
}
40
}
41
42
src_test() {
43
	./gdisk_test.sh || die
44
}

Return to bug 439696