summaryrefslogtreecommitdiff
path: root/editors/xemacs/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'editors/xemacs/patches/patch-ab')
-rw-r--r--editors/xemacs/patches/patch-ab35
1 files changed, 15 insertions, 20 deletions
diff --git a/editors/xemacs/patches/patch-ab b/editors/xemacs/patches/patch-ab
index 26586c164e8..16e0dfbae39 100644
--- a/editors/xemacs/patches/patch-ab
+++ b/editors/xemacs/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.3 2003/01/19 06:52:55 salo Exp $
+$NetBSD: patch-ab,v 1.4 2003/02/25 02:14:59 uebayasi Exp $
---- lib-src/Makefile.in.in.orig Mon Jun 14 08:32:00 1999
-+++ lib-src/Makefile.in.in Wed Dec 8 09:14:11 1999
-@@ -192,7 +192,7 @@
+--- lib-src/Makefile.in.in.orig Tue Aug 20 20:34:16 2002
++++ lib-src/Makefile.in.in
+@@ -237,7 +237,7 @@
## Install the internal utilities. Until they are installed, we can
## just run them directly from lib-src.
@@ -11,35 +11,30 @@ $NetBSD: patch-ab,v 1.3 2003/01/19 06:52:55 salo Exp $
@echo; echo "Installing utilities run internally by XEmacs."
./make-path ${archlibdir}
if test "`(cd ${archlibdir} && $(pwd))`" != "`$(pwd)`"; then \
-@@ -203,19 +203,29 @@
+@@ -248,17 +248,23 @@
if test "`(cd ${archlibdir} && $(pwd))`" \
!= "`(cd ${srcdir} && $(pwd))`"; then \
- for f in ${SCRIPTS}; do \
+ for f in ${PRIVATE_INSTALLABLE_SCRIPTS}; do \
- (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$$f ${archlibdir}/$$f); \
+ (cd .. && $(BSD_INSTALL_SCRIPT) ${srcdir}/$$f ${archlibdir}/$$f); \
done ; \
fi
- ## We do not need to install "wakeup" explicitly, because it will be
- ## copied when this whole directory is copied.
-install: ${archlibdir}
+install: install-archlibdir
@echo; echo "Installing utilities for users to run."
- for file in ${INSTALLABLES} ; do \
-+ if [ $${file} = etags ] || [ $${file} = ctags ] || [ $${file} = b2m ] ; \
-+ then \
-+ (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/xemacs-$${file}) ; \
-+ else \
- (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
+ for file in ${PUBLIC_INSTALLABLE_EXES} ; do \
+- (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
++ if test $${file} = etags || test $${file} = ctags || test $${file} = b2m ; then \
++ (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/xemacs-$${file}) ; else \
++ (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
+ fi \
done
- for file in ${INSTALLABLE_SCRIPTS} ; do \
+ for file in ${PUBLIC_INSTALLABLE_SCRIPTS} ; do \
- (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \
-+ if [ $${file} = rcs-checkin ] || [ $${file} = send-pr ] ; \
-+ then \
-+ (cd .. && $(BSD_INSTALL_SCRIPT) ${srcdir}/$${file} ${bindir}/xemacs-$${file}) ; \
-+ else \
-+ (cd .. && $(BSD_INSTALL_SCRIPT) ${srcdir}/$${file} ${bindir}/$${file}) ; \
++ if test $${file} = rcs-checkin || test $${file} = send-pr ; then \
++ (cd .. && $(BSD_INSTALL_SCRIPT) ${srcdir}/$${file} ${bindir}/xemacs-$${file}) ; else \
++ (cd .. && $(BSD_INSTALL_SCRIPT) ${srcdir}/$${file} ${bindir}/$${file}) ; \
+ fi \
done