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

Collapse All | Expand All

(-)/home/flame/devel/gentoo-x86/sys-libs/zlib/zlib-1.2.3.ebuild (-1 / +5 lines)
Lines 32-44 Link Here
32
	epatch "${FILESDIR}"/${PN}-1.2.1-fPIC.patch
32
	epatch "${FILESDIR}"/${PN}-1.2.1-fPIC.patch
33
	# generate DT_SONAME on BSD hosts #123571
33
	# generate DT_SONAME on BSD hosts #123571
34
	epatch "${FILESDIR}"/${PN}-1.2.3-bsd-soname.patch
34
	epatch "${FILESDIR}"/${PN}-1.2.3-bsd-soname.patch
35
	# Respect LDFLAGS in .so linking
36
	epatch "${FILESDIR}"/${PN}-1.2.3-linking.patch
37
	# Remove ldconfig call
38
	sed -i -e '/ldconfig/d' ${S}/Makefile.in
35
}
39
}
36
40
37
src_compile() {
41
src_compile() {
38
	tc-export CC RANLIB
42
	tc-export CC RANLIB
39
	export AR="$(tc-getAR) rc"
43
	export AR="$(tc-getAR) rc"
40
	./configure --shared --prefix=/usr --libdir=/$(get_libdir) || die
44
	./configure --shared --prefix=/usr --libdir=/$(get_libdir) || die
41
	emake || die
45
	emake LDFLAGS="${LDFLAGS}" || die
42
}
46
}
43
47
44
src_install() {
48
src_install() {

Return to bug 126718