From ba0bf33dd51903c1a2e92ce7b7376442e4dbd39c Mon Sep 17 00:00:00 2001 From: itojun <> Date: Sun, 9 Jun 2002 18:33:36 +0000 Subject: [PATCH] pax -s is botched, don't use it. --- src/include/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/include/Makefile b/src/include/Makefile index 56b61d26..812d611f 100644 --- a/src/include/Makefile +++ b/src/include/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.109 2002/06/07 17:46:55 drahn Exp $ +# $OpenBSD: Makefile,v 1.110 2002/06/09 18:33:36 itojun Exp $ # $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $ # @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 @@ -132,16 +132,14 @@ copies: cd ${DESTDIR}/usr/include && rm -rf ${MACHINE} ${MACHINE_ARCH} machine ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ ${DESTDIR}/usr/include/${MACHINE} - pax -rw -pa -s "|\.\./sys/arch/${MACHINE}/include||" \ - ../sys/arch/${MACHINE}/include/*.h \ - ${DESTDIR}/usr/include/${MACHINE} + (cd ../sys/arch/${MACHINE}/include; \ + pax -rw -pa *.h ${DESTDIR}/usr/include/${MACHINE}) if test ${MACHINE} != ${MACHINE_ARCH} -a \ -d ../sys/arch/${MACHINE_ARCH}/include; then \ ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ ${DESTDIR}/usr/include/${MACHINE_ARCH}; \ - pax -rw -pa -s "|\.\./sys/arch/${MACHINE_ARCH}/include||" \ - ../sys/arch/${MACHINE_ARCH}/include/*.h \ - ${DESTDIR}/usr/include/${MACHINE_ARCH}; \ + (cd ../sys/arch/${MACHINE_ARCH}/include; \ + pax -rw -pa *.h ${DESTDIR}/usr/include/${MACHINE_ARCH}); \ fi ln -sf ${MACHINE} ${DESTDIR}/usr/include/machine; \