pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/yadm



Module Name:    pkgsrc
Committed By:   pho
Date:           Tue Nov 23 07:30:52 UTC 2021

Modified Files:
        pkgsrc/sysutils/yadm: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/yadm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/yadm/Makefile
diff -u pkgsrc/sysutils/yadm/Makefile:1.1 pkgsrc/sysutils/yadm/Makefile:1.2
--- pkgsrc/sysutils/yadm/Makefile:1.1   Tue Nov 23 05:53:33 2021
+++ pkgsrc/sysutils/yadm/Makefile       Tue Nov 23 07:30:52 2021
@@ -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 @@ HOMEPAGE=       https://yadm.io/
 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 @@ do-install:
                        "${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