t0015-posix_tar.diff - mkports - recipes for building multiple softwares with mk(1)
 (HTM) git clone git://z3bra.org/mkports
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       t0015-posix_tar.diff (1294B)
       ---
            1 diff -urN a/gcc/Makefile.in b/gcc/Makefile.in
            2 --- a/gcc/Makefile.in        2016-04-15 11:49:39.000000000 +0000
            3 +++ b/gcc/Makefile.in        2017-05-22 18:31:49.770190991 +0000
            4 @@ -3558,9 +3558,9 @@
            5  # found in CDPATH, corrupting the output.  We could just redirect the
            6  # output of `cd', but some shells lose on redirection within `()'s
            7          (cd `${PWD_COMMAND}`/include ; \
            8 -         tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include; tar xpf - )
            9 +         bsdtar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include; bsdtar xpf - )
           10          (cd `${PWD_COMMAND}`/include-fixed ; \
           11 -         tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include-fixed; tar xpf - )
           12 +         bsdtar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include-fixed; bsdtar xpf - )
           13  # /bin/sh on some systems returns the status of the first tar,
           14  # and that can lose with GNU tar which always writes a full block.
           15  # So use `exit 0' to ignore its exit status.
           16 @@ -3581,7 +3581,7 @@
           17  # Targets without dependencies, for use in prev-gcc during bootstrap.
           18  real-install-headers-tar:
           19          (cd `${PWD_COMMAND}`/include-fixed ; \
           20 -         tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include-fixed; tar xpf - )
           21 +         bsdtar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include-fixed; bsdtar xpf - )
           22  
           23  real-install-headers-cpio:
           24          cd `${PWD_COMMAND}`/include-fixed ; \