mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 04:23:16 -04:00
dev-scheme/gerbil: fix emacs mode; verbose compilation
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
@@ -40,6 +40,8 @@ RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
SITEFILE="70${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
@@ -68,6 +70,10 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Verbose build process
|
||||
GAMBCOMP_VERBOSE="yes"
|
||||
export GAMBCOMP_VERBOSE
|
||||
|
||||
# The 'build.sh' script uses environment variables that are exported
|
||||
# by portage, ie.: CFLAGS, LDFLAGS, ...
|
||||
sh ./build.sh \
|
||||
@@ -89,10 +95,10 @@ src_install() {
|
||||
|| die "Failed to fix '/usr/share/gerbil/TAGS' install path"
|
||||
|
||||
# Compile the 'gerbil-mode.el'
|
||||
# FIXME: Doesn't autoload
|
||||
if use emacs; then
|
||||
pushd "${D}/usr/share/emacs/site-lisp/gerbil" || die
|
||||
elisp-compile *.el || die
|
||||
elisp-compile *.el || die "Failed to compile elisp files"
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
popd || die
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user