View | Details | Raw Unified
Collapse All | Expand All

(-) gettext-0.15-r1.ebuild.orig (-11 / +4 lines)
 Lines 33-46    Link Here 
		-e '2iexit 77' \
		-e '2iexit 77' \
		autoconf-lib-link/tests/rpath-3*[ef] || die "sed tests"
		autoconf-lib-link/tests/rpath-3*[ef] || die "sed tests"
	# use Gentoo std docdir
	sed -i \
		-e "/^docdir=/s:=.*:=/usr/share/doc/${PF}:" \
		gettext-runtime/configure \
		gettext-tools/configure \
		gettext-tools/examples/installpaths.in \
		|| die "sed docdir"
	# sanity check for Bug 105304
	# sanity check for Bug 105304
	if [[ -z ${USERLAND} ]] ; then
	if [[ -z ${USERLAND} ]] ; then
		eerror "You just hit Bug 105304, please post your 'emerge info' here:"
		eerror "You just hit Bug 105304, please post your 'emerge info' here:"
 Lines 61-66    Link Here 
	econf \
	econf \
		$(use_with emacs) \
		$(use_with emacs) \
		--disable-java \
		--disable-java \
		--docdir="/usr/share/doc/${PF}" \
		${myconf} \
		${myconf} \
		|| die
		|| die
	emake || die
	emake || die
 Lines 101-111    Link Here 
		gen_usr_ldscript ${libname}
		gen_usr_ldscript ${libname}
	fi
	fi
	if ! use doc ; then
	if use doc ; then
		rm -rf "${D}"/usr/share/doc/${PF}/html
		dohtml "${D}"/usr/share/doc/${PF}/*.html
	else
		rm -rf "${D}"/usr/share/doc/${PF}/{csharpdoc,examples,javadoc2,javadoc1}
		rm -rf "${D}"/usr/share/doc/${PF}/{csharpdoc,examples,javadoc2,javadoc1}
	fi
	fi
	dohtml "${D}"/usr/share/doc/${PF}/*.html
	rm -f "${D}"/usr/share/doc/${PF}/*.html
	rm -f "${D}"/usr/share/doc/${PF}/*.html
	# Remove emacs site-lisp stuff if 'emacs' is not in USE
	# Remove emacs site-lisp stuff if 'emacs' is not in USE