aboutsummaryrefslogtreecommitdiffstats
path: root/editors/emacs20-mule-devel
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>2001-12-07 01:31:46 +0800
committershige <shige@FreeBSD.org>2001-12-07 01:31:46 +0800
commit8b8a0af548a89cbccc0cbd50dd6a78913ce05d05 (patch)
tree7095d43d757c937b8413ff55e68205e5de05f01a /editors/emacs20-mule-devel
parentbc20e3c534d5515aaf19ce543afdfd52599a71aa (diff)
downloadfreebsd-ports-gnome-8b8a0af548a89cbccc0cbd50dd6a78913ce05d05.tar.gz
freebsd-ports-gnome-8b8a0af548a89cbccc0cbd50dd6a78913ce05d05.tar.zst
freebsd-ports-gnome-8b8a0af548a89cbccc0cbd50dd6a78913ce05d05.zip
Byte-compile mule.el by mule-20.7 itself.
And dump emacs(mule-20.7) with using new-byte-compiled mule.elc.
Diffstat (limited to 'editors/emacs20-mule-devel')
-rw-r--r--editors/emacs20-mule-devel/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/editors/emacs20-mule-devel/Makefile b/editors/emacs20-mule-devel/Makefile
index 81c91e299dbd..7d79e0659fc1 100644
--- a/editors/emacs20-mule-devel/Makefile
+++ b/editors/emacs20-mule-devel/Makefile
@@ -80,10 +80,21 @@ pre-patch:
pre-build:
@${RM} -rf ${WRKSRC}/info/*
@${LN} -sf DOC ${WRKSRC}/etc/${DOC_FILE}
+
+post-build:
+# NEED twice times byte-compile mule.elc.
+ @(cd ${WRKSRC}/lisp ; \
+ ${WRKSRC}/src/emacs -batch -q -no-init-file \
+ -f batch-byte-compile ${MULE_PATCHED_ELS} ; \
+ )
+ @${RM} -f ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-${EMACS_VER}*
+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
@(cd ${WRKSRC}/lisp ; \
- ${PREFIX}/bin/emacs-${EMACS_VER} -batch -q -f \
- batch-byte-compile ${MULE_PATCHED_ELS} ; \
+ ${WRKSRC}/src/emacs -batch -q -no-init-file \
+ -f batch-byte-compile ${MULE_PATCHED_ELS} ; \
)
+ @${RM} -f ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-${EMACS_VER}*
+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
do-install:
# Install ${MULE} binary.