diff options
Diffstat (limited to 'editors/emacs/patches/patch-ak')
-rw-r--r-- | editors/emacs/patches/patch-ak | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/editors/emacs/patches/patch-ak b/editors/emacs/patches/patch-ak new file mode 100644 index 00000000000..36f75a2d490 --- /dev/null +++ b/editors/emacs/patches/patch-ak @@ -0,0 +1,40 @@ +$NetBSD: patch-ak,v 1.4 2003/04/11 00:56:32 uebayasi Exp $ + +--- lib-src/Makefile.in.orig Fri Oct 19 02:31:27 2001 ++++ lib-src/Makefile.in Thu May 2 20:53:52 2002 +@@ -85,6 +85,7 @@ + INSTALL = @INSTALL@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_DATA = @INSTALL_DATA@ ++INSTALL_SCRIPT = @INSTALL_SCRIPT@ + # By default, we uphold the dignity of our programs. + INSTALL_STRIP = + +@@ -288,7 +289,7 @@ + if [ `(cd ${archlibdir} && /bin/pwd)` \ + != `(cd ${srcdir} && /bin/pwd)` ]; then \ + for file in ${SCRIPTS}; do \ +- $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file; \ ++ $(INSTALL_SCRIPT) ${srcdir}/$$file ${archlibdir}/$$file; \ + done ; \ + fi + +@@ -296,12 +297,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_SCRIPT) ${srcdir}/$${file} ${bindir}/emacs-$${file} ; \ + done + + uninstall: |