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

(-)gcl-2.6.7-r3.ebuild (-7 / +11 lines)
Lines 57-63 Link Here
57
		$(use_enable ansi ansi)
57
		$(use_enable ansi ansi)
58
		--enable-xdr=no
58
		--enable-xdr=no
59
		--enable-infodir=/usr/share/info
59
		--enable-infodir=/usr/share/info
60
		--enable-emacsdir=/usr/share/emacs/site-lisp/gcl"
60
		--enable-emacsdir=${SITELISP}/${PN}"
61
	einfo "Configuring with the following:
61
	einfo "Configuring with the following:
62
${myconfig}"
62
${myconfig}"
63
	econf ${myconfig}
63
	econf ${myconfig}
Lines 71-85 Link Here
71
	make DESTDIR="${D}" install || die "make install failed"
71
	make DESTDIR="${D}" install || die "make install failed"
72
72
73
	rm -rf ${D}/usr/lib/${P}/info
73
	rm -rf ${D}/usr/lib/${P}/info
74
	mv ${D}/default.el elisp/
75
74
76
	if use emacs; then
75
	if use emacs; then
77
		mv elisp/add-default.el ${T}/50gcl-gentoo.el
76
		# do compilation here because some files are only
78
		elisp-site-file-install ${T}/50gcl-gentoo.el
77
		# available after make install
79
		elisp-install ${PN} elisp/*
78
		cd elisp
80
		fperms 0644 /usr/share/emacs/site-lisp/gcl/*
79
		mv add-default.el "${S}/50gcl-gentoo.el"
80
		elisp-compile *.el
81
		elisp-install ${PN} * || die
82
		elisp-site-file-install "${S}/50gcl-gentoo.el" || die
83
		fperms 0644 "${SITELISP}"/${PN}/*
84
		cd -
81
	else
85
	else
82
		rm -rf ${D}/usr/share/emacs
86
		rm -rf "${D}/usr/share/emacs"
83
	fi
87
	fi
84
88
85
	dosed /usr/bin/gcl
89
	dosed /usr/bin/gcl

Return to bug 194723