From be9bc4ff1b2299e27569fc091508ae53f0aab39f Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 14 Nov 2001 14:47:53 +0000 Subject: Replace "${GTAR} cf - . | (cd ... ; ${GTAR} xf - )" pipelines with a single instance of ${PAX}. --- lang/lua/Makefile | 5 ++--- lang/mercury/Makefile | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'lang') diff --git a/lang/lua/Makefile b/lang/lua/Makefile index 069b1510798..9d15b194a67 100644 --- a/lang/lua/Makefile +++ b/lang/lua/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/06/19 14:47:22 jtb Exp $ +# $NetBSD: Makefile,v 1.2 2001/11/14 14:47:55 agc Exp $ DISTNAME= lua-4.0 CATEGORIES= lang @@ -27,7 +27,6 @@ post-install: cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.gif \ ${PREFIX}/share/doc/html/lua ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lua - (cd ${WRKSRC}/test/; ${GTAR} cf - . ) | \ - (cd ${PREFIX}/share/examples/lua/; ${GTAR} xf -) + cd ${WRKSRC}/test && ${PAX} -rw . ${PREFIX}/share/examples/lua .include "../../mk/bsd.pkg.mk" diff --git a/lang/mercury/Makefile b/lang/mercury/Makefile index 04648dedb7d..14bf7a03a1d 100644 --- a/lang/mercury/Makefile +++ b/lang/mercury/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2001/06/11 22:52:10 jtb Exp $ +# $NetBSD: Makefile,v 1.4 2001/11/14 14:47:55 agc Exp $ DISTNAME= mercury-compiler-0.10.1 PKGNAME= mercury-0.10.1 @@ -33,7 +33,6 @@ post-install: ${FIND} ${WRKSRC} -type f -name ".cvsignore" | ${XARGS} ${RM} -f ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mercury ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC}/samples - (cd ${WRKSRC}/samples; ${GTAR} cpf - . ) | \ - (cd ${PREFIX}/share/examples/mercury; ${GTAR} xpf -) + cd ${WRKSRC}/samples && ${PAX} -rw . ${PREFIX}/share/examples/mercury .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3