pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/x11-links Use pax(1) instead of "cp -R" to in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/86a70c7d6ee7
branches:  trunk
changeset: 460992:86a70c7d6ee7
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Sep 09 09:02:30 2003 +0000

description:
Use pax(1) instead of "cp -R" to install so that we ensure symlinks are
copied instead of followed.

diffstat:

 pkgtools/x11-links/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 03f94c1d2a1f -r 86a70c7d6ee7 pkgtools/x11-links/Makefile
--- a/pkgtools/x11-links/Makefile       Tue Sep 09 08:30:36 2003 +0000
+++ b/pkgtools/x11-links/Makefile       Tue Sep 09 09:02:30 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2003/09/07 21:53:02 jlam Exp $
+# $NetBSD: Makefile,v 1.39 2003/09/09 09:02:30 jlam Exp $
 #
 # NOTE:        If you update this package, then you'll likely need to also update
 #      the x11-links dependency in mk/buildlink[23]/bsd.buildlink[23].mk
@@ -77,7 +77,7 @@
        ) > ${PLIST_SRC}
 
 do-install:
-       ${INSTALL_DATA_DIR} ${X11_LINKS_DIR:H}
-       cd ${WRKSRC}; ${CP} -R ${X11_LINKS_BUILD_DIR} ${X11_LINKS_DIR}
+       ${INSTALL_DATA_DIR} ${X11_LINKS_DIR}
+       cd ${X11_LINKS_BUILD_DIR} && ${PAX} -rwpp . ${X11_LINKS_DIR}
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index