summaryrefslogtreecommitdiff
path: root/pkgtools/x11-links/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2003-09-09 09:02:30 +0000
committerjlam <jlam>2003-09-09 09:02:30 +0000
commit9acf438c8c9ae7ab7ebffef52fe4825494d0e1c9 (patch)
treefd0d6942dea2485d9b1f8435d4dc689bc91236d1 /pkgtools/x11-links/Makefile
parentd8d871e2ae8e05c6226f9f4a67f599a936844edd (diff)
downloadpkgsrc-9acf438c8c9ae7ab7ebffef52fe4825494d0e1c9.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/Makefile')
-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"