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

Collapse All | Expand All

(-)c-client-2007e.ebuild (-2 / +7 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2007e.ebuild,v 1.9 2009/03/30 16:03:05 armin76 Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2007e.ebuild,v 1.9 2009/03/30 16:03:05 armin76 Exp $
4
4
5
inherit flag-o-matic eutils libtool
5
inherit flag-o-matic eutils libtool toolchain-funcs
6
6
7
MY_PN=imap
7
MY_PN=imap
8
MY_P="${MY_PN}-${PV}"
8
MY_P="${MY_PN}-${PV}"
Lines 65-70 Link Here
65
65
66
	# Remove the pesky checks about SSL stuff
66
	# Remove the pesky checks about SSL stuff
67
	sed -e '/read.*exit/d' -i Makefile
67
	sed -e '/read.*exit/d' -i Makefile
68
	# Respect LDFLAGS
69
	epatch "${FILESDIR}"/${PN}-respect-LDFLAGS.patch
70
	sed -e "s/CC=cc/CC=$(tc-getCC)/" -i src/osdep/unix/Makefile
71
	sed -e "s/ARRC=ar/ARRC=$(tc-getAR)/" -i src/osdep/unix/Makefile
72
	sed -e "s/RANLIB=ranlib/RANLIB=$(tc-getRANLIB)/" -i src/osdep/unix/Makefile
68
	elibtoolize
73
	elibtoolize
69
}
74
}
70
75
Lines 77-83 Link Here
77
		target=bsf
82
		target=bsf
78
	fi
83
	fi
79
	# no parallel builds supported!
84
	# no parallel builds supported!
80
	emake -j1 $target SSLTYPE=${ssltype} EXTRACFLAGS="${CFLAGS}" || die "make failed"
85
	emake -j1 SSLTYPE=${ssltype} $target EXTRACFLAGS="${CFLAGS}" EXTRALDFLAGS="${LDFLAGS}" || die "make failed"
81
}
86
}
82
87
83
src_install() {
88
src_install() {

Return to bug 331773