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

(-)emacs-cvs-22.0.9999-r4.ebuild~ (-1 / +6 lines)
Lines 59-65 Link Here
59
	fi
59
	fi
60
60
61
	epatch "${FILESDIR}/${PN}-freebsd-sparc.patch"
61
	epatch "${FILESDIR}/${PN}-freebsd-sparc.patch"
62
	epatch "${FILESDIR}/emacs-subdirs-el-gentoo.diff"
63
	use ppc-macos && epatch "${FILESDIR}/emacs-cvs-21.3.50-nofink.diff"
62
	use ppc-macos && epatch "${FILESDIR}/emacs-cvs-21.3.50-nofink.diff"
64
63
65
	eautoreconf
64
	eautoreconf
Lines 159-164 Link Here
159
		mv ${m} ${m/.1/.emacs-${SLOT}.1} || die "mv man failed"
158
		mv ${m} ${m/.1/.emacs-${SLOT}.1} || die "mv man failed"
160
	done
159
	done
161
160
161
	# avoid collision between slots
162
	rm "${D}"/usr/share/emacs/site-lisp/subdirs.el
163
162
	if use source; then
164
	if use source; then
163
		insinto /usr/share/emacs/${SLOT}/src
165
		insinto /usr/share/emacs/${SLOT}/src
164
		# This is not meant to install all the source -- just the
166
		# This is not meant to install all the source -- just the
Lines 198-203 Link Here
198
}
200
}
199
201
200
pkg_postinst() {
202
pkg_postinst() {
203
	test -f ${ROOT}/usr/share/emacs/site-lisp/subdirs.el ||
204
		cp ${ROOT}/usr/share/emacs{/${PV},}/site-lisp/subdirs.el
205
201
	use ppc-macos || update-alternatives
206
	use ppc-macos || update-alternatives
202
	elisp-site-regen
207
	elisp-site-regen
203
208

Return to bug 169107