From e1566ae99c32848f2210375f25e9768f4766fbb4 Mon Sep 17 00:00:00 2001 From: MANTANI Nobutaka Date: Wed, 6 Mar 2002 17:57:21 +0000 Subject: Byte-compile only patched elisp files. Stop removing ${PREFIX}/share/emacs/21.1/etc and ${PREFIX}/share/emacs/21.1/etc before install. --- editors/emacs21/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'editors/emacs21/Makefile') diff --git a/editors/emacs21/Makefile b/editors/emacs21/Makefile index 6cbb0961c5c4..9e3c514e365f 100644 --- a/editors/emacs21/Makefile +++ b/editors/emacs21/Makefile @@ -32,7 +32,6 @@ PATCH_DIST_STRIP= -p1 USE_AUTOCONF_VER=213 USE_GMAKE= yes -ALL_TARGET= bootstrap CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd .if defined(WITHOUT_X11) @@ -67,6 +66,13 @@ post-patch: ${RM} $${f}.texi.orig ; \ done) +post-build: + (cd ${WRKSRC}/lisp ; \ + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} recompile ; \ + ${RM} ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-${PORTVERSION}.1 ; \ + cd ${WRKSRC}/src ; \ + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) + post-install: @${CAT} ${PKGMESSAGE} -- cgit v1.2.3