From: Jeffrey C Honig <jch@bsdi.com>
Subject: emacs 21.3: -h flag to tar not supported on BSD/OS
Date: Sun, 11 May 2003 21:21:08 -0400 [thread overview]
Message-ID: <200305120121.h4C1L8j03311@kismet.honig.net> (raw)
While importing emacs-21.3 into BSD/OS 4.3/5.0 I found that Makefile.in
and leim/Makefile.in invoke tar with -chf. The -h flag is not supported
by BSD/OS's tar (which is just a front-end for pax).
I do not see any symlinks in the distribution so I wonder why this flag
is there.
Enclosed is the change I've made.
Thanks.
Jeff
Index: Makefile.in
===================================================================
RCS file: /master/contrib/emacs/Makefile.in,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile.in
--- Makefile.in 2003/04/15 02:56:35 1.2
+++ Makefile.in 2003/05/12 00:58:00
@@ -364,7 +364,7 @@
[ -d $${dir} ] \
&& [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \
&& (echo "Copying $${dir} to $${dest}..." ; \
- (cd $${dir}; tar -chf - . ) \
+ (cd $${dir}; tar -cf - . ) \
| (cd $${dest}; umask 022; \
tar -xvf - && cat > /dev/null) || exit 1; \
for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \
@@ -403,7 +403,7 @@
if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
then \
echo "Copying etc/DOC-* to ${docdir} ..." ; \
- (cd ./etc; tar -chf - DOC*) \
+ (cd ./etc; tar -cf - DOC*) \
|(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; \
(cd $(docdir); chmod a+r DOC*; \
if test "`echo DOC-*`" != "DOC-*"; then rm DOC; fi); \
@@ -415,7 +415,7 @@
&& [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ./lisp; /bin/pwd)` ]; \
then \
echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \
- (cd lisp; tar -chf - *.el *.elc) \
+ (cd lisp; tar -cf - *.el *.elc) \
|(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; \
else true; fi
-unset CDPATH; \
Index: leim/Makefile.in
===================================================================
RCS file: /master/contrib/emacs/leim/Makefile.in,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile.in
--- leim/Makefile.in 2003/04/15 02:45:57 1.2
+++ leim/Makefile.in 2003/05/12 00:58:19
@@ -198,13 +198,13 @@
rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/ja-dic ; \
echo "Copying leim files to ${INSTALLDIR} ..." ; \
if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
- tar -chf - leim-list.el quail ja-dic \
+ tar -cf - leim-list.el quail ja-dic \
| (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
else \
- tar -chf - leim-list.el quail \
+ tar -cf - leim-list.el quail \
| (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
cd ${srcdir}; \
- tar -chf - quail/* ja-dic \
+ tar -cf - quail/* ja-dic \
| (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
fi; \
else true; fi
next reply other threads:[~2003-05-12 1:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-12 1:21 Jeffrey C Honig [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-05-12 1:37 emacs 21.3: -h flag to tar not supported on BSD/OS David R. Linn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200305120121.h4C1L8j03311@kismet.honig.net \
--to=jch@bsdi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.