pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/yadm Use pax; it's better than tar -c|tar -x



details:   https://anonhg.NetBSD.org/pkgsrc/rev/49be75faa573
branches:  trunk
changeset: 769916:49be75faa573
user:      pho <pho%pkgsrc.org@localhost>
date:      Tue Nov 23 07:30:52 2021 +0000

description:
Use pax; it's better than tar -c|tar -x

diffstat:

 sysutils/yadm/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r af0b3a49d935 -r 49be75faa573 sysutils/yadm/Makefile
--- a/sysutils/yadm/Makefile    Tue Nov 23 05:54:05 2021 +0000
+++ b/sysutils/yadm/Makefile    Tue Nov 23 07:30:52 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2021/11/23 05:53:33 pho Exp $
+# $NetBSD: Makefile,v 1.2 2021/11/23 07:30:52 pho Exp $
 
 DISTNAME=      yadm-3.1.1
 CATEGORIES=    sysutils
@@ -9,7 +9,7 @@
 COMMENT=       Yet Another Dotfiles Manager
 LICENSE=       gnu-gpl-v3
 
-USE_TOOLS+=    bash:run gawk:run tar:run
+USE_TOOLS+=    bash:run gawk:run pax tar:run
 NO_BUILD=      yes
 
 DEPENDS+=      git-base-[0-9]*:../../devel/git-base
@@ -76,7 +76,7 @@
                        "${WRKSRC}/$${f}" \
                        "${DESTDIR}${PREFIX}/share/doc/yadm/"; \
        done
-       ( cd "${WRKSRC}/contrib" && ${TAR} -cf - . ) | \
-               ( cd "${DESTDIR}${PREFIX}/share/examples/yadm" && ${TAR} -xf - )
+       cd "${WRKSRC}/contrib" && \
+               ${PAX} -wr . "${DESTDIR}${PREFIX}/share/examples/yadm"
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index