summaryrefslogtreecommitdiff
path: root/editors/emacs21/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs21/patches/patch-ak')
-rw-r--r--editors/emacs21/patches/patch-ak23
1 files changed, 23 insertions, 0 deletions
diff --git a/editors/emacs21/patches/patch-ak b/editors/emacs21/patches/patch-ak
new file mode 100644
index 00000000000..9d3ad3fc203
--- /dev/null
+++ b/editors/emacs21/patches/patch-ak
@@ -0,0 +1,23 @@
+$NetBSD: patch-ak,v 1.1.1.1 2002/04/24 17:27:41 drochner Exp $
+
+--- lib-src/Makefile.in.orig Wed Apr 24 14:24:16 2002
++++ lib-src/Makefile.in Wed Apr 24 17:10:31 2002
+@@ -296,12 +296,14 @@
+ @echo
+ @echo "Installing utilities for users to run."
+ for file in ${INSTALLABLES} ; do \
+- $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} ${bindir}/$${file} ; \
+- chmod a+rx ${bindir}/$${file}; \
++ if [ $${file} = emacsclient ] ; then \
++ $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} ${bindir}/$${file} ; \
++ else \
++ $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} ${bindir}/emacs-$${file} ; \
++ fi ; \
+ done
+ for file in ${INSTALLABLE_SCRIPTS} ; do \
+- $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file} ; \
+- chmod a+rx ${bindir}/$${file}; \
++ $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/emacs-$${file} ; \
+ done
+
+ uninstall: