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

(-)a/ftplib-4.0-r1.ebuild (-3 / +5 lines)
Lines 16-21 Link Here
16
IUSE=""
16
IUSE=""
17
17
18
src_prepare() {
18
src_prepare() {
19
	epatch "${FILESDIR}"/${PN}-4.0-crash.patch
20
	multilib_copy_sources
21
}
22
23
multilib_src_configure() {
19
	sed -i \
24
	sed -i \
20
		-e '/shared/s:$(CC):$(CC) $(LDFLAGS):' \
25
		-e '/shared/s:$(CC):$(CC) $(LDFLAGS):' \
21
		-e 's:/usr/local:$(DESTDIR)/usr:' \
26
		-e 's:/usr/local:$(DESTDIR)/usr:' \
Lines 23-31 Link Here
23
		-e "s:/lib:/$(get_libdir):" \
28
		-e "s:/lib:/$(get_libdir):" \
24
		-e '/ar -rcs/s:ar:$(AR):' \
29
		-e '/ar -rcs/s:ar:$(AR):' \
25
		src/Makefile || die
30
		src/Makefile || die
26
	epatch "${FILESDIR}"/${PN}-4.0-crash.patch
27
28
	multilib_copy_sources
29
}
31
}
30
32
31
multilib_src_compile() {
33
multilib_src_compile() {

Return to bug 520026