summaryrefslogtreecommitdiff
path: root/pkgtools/x11-links
diff options
context:
space:
mode:
authorjlam <jlam>2003-09-09 09:02:30 +0000
committerjlam <jlam>2003-09-09 09:02:30 +0000
commit1bd1ed068a019c0bddd48f58f6b3c52c795f881d (patch)
treefd0d6942dea2485d9b1f8435d4dc689bc91236d1 /pkgtools/x11-links
parent8552518aa7bbc15d989af4445efe0fcc8d92ee86 (diff)
downloadpkgsrc-1bd1ed068a019c0bddd48f58f6b3c52c795f881d.tar.gz
Use pax(1) instead of "cp -R" to install so that we ensure symlinks are
copied instead of followed.
Diffstat (limited to 'pkgtools/x11-links')
-rw-r--r--pkgtools/x11-links/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/x11-links/Makefile b/pkgtools/x11-links/Makefile
index 3dbc3a7a586..cf55ed4d3be 100644
--- a/pkgtools/x11-links/Makefile
+++ b/pkgtools/x11-links/Makefile
@@ -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 @@ post-build:
) > ${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"