diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2002-03-07 01:57:21 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2002-03-07 01:57:21 +0800 |
commit | bbd70452e3c09b6af646ae4054a0b96e3fc0f658 (patch) | |
tree | b56a3fb014425ff1a4d5a94754d851312208bc37 | |
parent | 7f42ee895312d75527384daaadc7903aef5886db (diff) | |
download | freebsd-ports-gnome-bbd70452e3c09b6af646ae4054a0b96e3fc0f658.tar.gz freebsd-ports-gnome-bbd70452e3c09b6af646ae4054a0b96e3fc0f658.tar.zst freebsd-ports-gnome-bbd70452e3c09b6af646ae4054a0b96e3fc0f658.zip |
Byte-compile only patched elisp files.
Stop removing ${PREFIX}/share/emacs/21.1/etc and ${PREFIX}/share/emacs/21.1/etc
before install.
-rw-r--r-- | editors/emacs21/Makefile | 8 | ||||
-rw-r--r-- | editors/emacs21/files/patch-Makefile.in | 17 |
2 files changed, 24 insertions, 1 deletions
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} diff --git a/editors/emacs21/files/patch-Makefile.in b/editors/emacs21/files/patch-Makefile.in new file mode 100644 index 000000000000..63b440560094 --- /dev/null +++ b/editors/emacs21/files/patch-Makefile.in @@ -0,0 +1,17 @@ +--- Makefile.in.orig Thu Mar 7 00:13:23 2002 ++++ Makefile.in Thu Mar 7 00:14:30 2002 +@@ -348,14 +348,6 @@ + ## as a workaround for a bug in tar on Ultrix 4.2. + install-arch-indep: mkdir info + -set ${COPYDESTS} ; \ +- unset CDPATH; \ +- for dir in ${COPYDIR} ; do \ +- if [ `(cd $$1 && /bin/pwd)` != `(cd $${dir} && /bin/pwd)` ] ; then \ +- rm -rf $$1 ; \ +- fi ; \ +- shift ; \ +- done +- -set ${COPYDESTS} ; \ + mkdir ${COPYDESTS} ; \ + chmod ugo+rx ${COPYDESTS} ; \ + unset CDPATH; \ |