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

(-)nspr-4.7.1.ebuild.orig (-1 / +9 lines)
Lines 45-54 Link Here
45
	myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)/nspr \
45
	myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)/nspr \
46
		--enable-system-sqlite"
46
		--enable-system-sqlite"
47
47
48
	# fugly hack to work around bug 222625
49
	if use sparc-solaris; then
50
		mkdir "${T}/sunld"
51
		ln -s /usr/ccs/bin/ld "${T}/sunld/ld"
52
		export EXTRA_CC_CALL="-B${TMP}/sunld -L/lib "
53
	fi
54
48
	ECONF_SOURCE="../mozilla/nsprpub" CC=$(tc-getCC) CXX=$(tc-getCPP) econf \
55
	ECONF_SOURCE="../mozilla/nsprpub" CC=$(tc-getCC) CXX=$(tc-getCPP) econf \
49
		$(use_enable debug) \
56
		$(use_enable debug) \
50
		${myconf} || die "econf failed"
57
		${myconf} || die "econf failed"
51
	make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
58
	use sparc-solaris && sed -i s/"GCC_USE_GNU_LD\t= 1"/"GCC_USE_GNU_LD\t="/ ${S}/build/config/autoconf.mk
59
	make CC="$(tc-getCC) ${EXTRA_CC_CALL}" CXX="$(tc-getCXX)" || die
52
}
60
}
53
61
54
src_install () {
62
src_install () {

Return to bug 222625