Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 454134
Collapse All | Expand All

(-)samtools-0.1.18-r1.ebuild (-3 / +5 lines)
Lines 15-25 Link Here
15
IUSE="examples"
15
IUSE="examples"
16
KEYWORDS="~amd64 ~x86 ~x64-macos"
16
KEYWORDS="~amd64 ~x86 ~x64-macos"
17
17
18
DEPEND="virtual/pkgconfig"
19
18
src_prepare() {
20
src_prepare() {
19
	sed \
21
	sed \
20
		-e '/CC/s:=:?=:g' \
22
		-e '/^CC=/s:=:?=:' \
21
		-e "/LIBCURSES/s:=.*$:= $(pkg-config --libs ncurses):g" \
23
		-e "/^LIBCURSES=/s:=.*:= $(pkg-config --libs ncurses):" \
22
		-e '/^CFLAGS=/d' \
24
		-e '/^CFLAGS=/s:=:?=:' \
23
		-e "s/\$(CC) \$(CFLAGS)/& \$(LDFLAGS)/g" \
25
		-e "s/\$(CC) \$(CFLAGS)/& \$(LDFLAGS)/g" \
24
		-e "s/-shared/& \$(LDFLAGS)/" \
26
		-e "s/-shared/& \$(LDFLAGS)/" \
25
		-i "${S}"/{Makefile,misc/Makefile} || die #358563
27
		-i "${S}"/{Makefile,misc/Makefile} || die #358563

Return to bug 454134