summaryrefslogtreecommitdiff
path: root/pkgtools/x11-links
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2003-01-16 21:37:58 +0000
committerheinz <heinz@pkgsrc.org>2003-01-16 21:37:58 +0000
commitfd279693999da8bec1547152ba192a400e16f98a (patch)
tree767beaead9dbb5d916374f586ded6ebc90c35ea9 /pkgtools/x11-links
parent1f7f102ec1006da156f79f0a4a58c475ba8934e4 (diff)
downloadpkgsrc-fd279693999da8bec1547152ba192a400e16f98a.tar.gz
Use PAX instead of CP (Solaris 'cp' cannot copy symlinks)
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 468cd162549..1847db9807a 100644
--- a/pkgtools/x11-links/Makefile
+++ b/pkgtools/x11-links/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2003/01/14 09:31:20 jlam Exp $
+# $NetBSD: Makefile,v 1.29 2003/01/16 21:37:58 heinz Exp $
#
# NOTE: If you update this package, then you'll likely need to also update
# the x11-links dependency in mk/buildlink2/bsd.buildlink2.mk to the
@@ -39,8 +39,8 @@ PKG_FAIL_REASON= "${PKGNAME} requires X headers to be installed"
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/${BUILDLINK_X11_SUBDIR}
- cd ${BUILDLINK_DIR} && \
- ${CP} -R include lib ${PREFIX}/${BUILDLINK_X11_SUBDIR}
+ cd ${BUILDLINK_DIR} && { ${ECHO} include ; ${ECHO} lib ; } | \
+ ${PAX} -r -w ${PREFIX}/${BUILDLINK_X11_SUBDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${BUILDLINK_X11_SUBDIR}
${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}
cd ${PREFIX}; ${FIND} ${BUILDLINK_X11_SUBDIR} \! -type d -print \