summaryrefslogtreecommitdiff
path: root/editors/emacs21
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2002-03-06 17:57:21 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2002-03-06 17:57:21 +0000
commite1566ae99c32848f2210375f25e9768f4766fbb4 (patch)
tree627373df0e818d5e62c02137682afb9b555a1343 /editors/emacs21
parent*.cxx also needs <malloc.h>|<stdlib.h> (diff)
Byte-compile only patched elisp files.
Stop removing ${PREFIX}/share/emacs/21.1/etc and ${PREFIX}/share/emacs/21.1/etc before install.
Notes
Notes: svn path=/head/; revision=55649
Diffstat (limited to 'editors/emacs21')
-rw-r--r--editors/emacs21/Makefile8
-rw-r--r--editors/emacs21/files/patch-Makefile.in17
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; \