diff options
author | jlam <jlam@pkgsrc.org> | 2003-09-09 09:15:02 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-09-09 09:15:02 +0000 |
commit | 02e031bcb909a1b9e7e1b848be300cedd32a8eed (patch) | |
tree | 599a825190621e12033a0d58ff7018c10bc8a98d /mk/buildlink2 | |
parent | 2f8c2dcf7d7c39bfab087515e25e85618f07873a (diff) | |
download | pkgsrc-02e031bcb909a1b9e7e1b848be300cedd32a8eed.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 |