pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/netpbm Use pax instead of tar to copy files. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6269942b7f2c
branches:  trunk
changeset: 462043:6269942b7f2c
user:      reed <reed%pkgsrc.org@localhost>
date:      Thu Sep 25 18:55:58 2003 +0000

description:
Use pax instead of tar to copy files. (Okay'd by tron.)
In some cases, gtar had problems, like:
/bin/tar: share/doc/netpbm: Cannot unlink: Directory not empty
/bin/tar: share/netpbm: Cannot unlink: Directory not empty

diffstat:

 graphics/netpbm/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 93db499ff48f -r 6269942b7f2c graphics/netpbm/Makefile
--- a/graphics/netpbm/Makefile  Thu Sep 25 18:52:10 2003 +0000
+++ b/graphics/netpbm/Makefile  Thu Sep 25 18:55:58 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.80 2003/09/17 19:40:35 grant Exp $
+# $NetBSD: Makefile,v 1.81 2003/09/25 18:55:58 reed Exp $
 
 DISTNAME=      netpbm-10.11.8
 CATEGORIES=    graphics
@@ -60,7 +60,7 @@
          ${TEST} -d "${PREFIX}/$${DIR}" ||             \
            ${ECHO} "@dirrm $${DIR}";                   \
        done >>${PLIST_SRC} &&                          \
-       ${GTAR} -cf - * | ${GTAR} -xpC ${PREFIX} -f -
+       ${PAX} -rw . ${PREFIX}
        ${RM} -fr ${STAGEDIR}
 
 .include "../../graphics/png/buildlink2.mk"



Home | Main Index | Thread Index | Old Index