diff options
author | jlam <jlam> | 2003-09-09 09:15:02 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-09-09 09:15:02 +0000 |
commit | 5becad7cdb7e9f7dd1a67efb2cdec7c4e0c3bc09 (patch) | |
tree | 599a825190621e12033a0d58ff7018c10bc8a98d /mk/buildlink2 | |
parent | 2336478bd10bc2738a886f8210dfb713bac063f9 (diff) | |
download | pkgsrc-5becad7cdb7e9f7dd1a67efb2cdec7c4e0c3bc09.tar.gz |
Use pax(1) instead of "cp -R" so we preserve symlinks instead of following
them.
Diffstat (limited to 'mk/buildlink2')
-rw-r--r-- | mk/buildlink2/bsd.buildlink2.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk index 16d8f6d0515..6f6762bc127 100644 --- a/mk/buildlink2/bsd.buildlink2.mk +++ b/mk/buildlink2/bsd.buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink2.mk,v 1.96 2003/09/02 06:59:50 jlam Exp $ +# $NetBSD: bsd.buildlink2.mk,v 1.97 2003/09/09 09:15:02 jlam Exp $ # # An example package buildlink2.mk file: # @@ -170,7 +170,7 @@ buildlink-directories: ${_PKG_SILENT}${_PKG_DEBUG}${RM} -f ${BUILDLINK_X11_DIR} ${_PKG_SILENT}${_PKG_DEBUG}${LN} -sf ${BUILDLINK_DIR} ${BUILDLINK_X11_DIR} . if empty(USE_X11_LINKS:M[nN][oO]) - ${_PKG_SILENT}${_PKG_DEBUG}${CP} -R ${_BLNK_X11_DIR}/* ${BUILDLINK_X11_DIR} + ${_PKG_SILENT}${_PKG_DEBUG}cd ${_BLNK_X11_DIR} && ${PAX} -rwpp . ${BUILDLINK_X11_DIR} . endif .endif ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${BUILDLINK_DIR}/include |