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 | 81329481d98ef8f41786a4aa831aa61fdbc6df9b (patch) | |
tree | 599a825190621e12033a0d58ff7018c10bc8a98d /mk | |
parent | f32c4c102a0ef58e475da61303f6ec7396ec451c (diff) | |
download | pkgsrc-81329481d98ef8f41786a4aa831aa61fdbc6df9b.tar.gz |
Use pax(1) instead of "cp -R" so we preserve symlinks instead of following
them.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink2/bsd.buildlink2.mk | 4 | ||||
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 4 |
2 files changed, 4 insertions, 4 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 diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index 48de73936b8..65a71782745 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink3.mk,v 1.7 2003/09/08 09:18:15 jlam Exp $ +# $NetBSD: bsd.buildlink3.mk,v 1.8 2003/09/09 09:15:03 jlam Exp $ # # An example package buildlink3.mk file: # @@ -290,7 +290,7 @@ buildlink-directories: ${_PKG_SILENT}${_PKG_DEBUG}${LN} -sf ${BUILDLINK_DIR} ${BUILDLINK_X11_DIR} . if empty(USE_X11_LINKS:M[nN][oO]) . if exists(${_BLNK_X11_LINKS_DIR}) - ${_PKG_SILENT}${_PKG_DEBUG}${CP} -R ${_BLNK_X11_LINKS_DIR}/* ${BUILDLINK_X11_DIR} + ${_PKG_SILENT}${_PKG_DEBUG}cd ${_BLNK_X11_LINKS_DIR} && ${PAX} -rwpp . ${BUILDLINK_X11_DIR} . else ${_PKG_SILENT}${_PKG_DEBUG}${ECHO_MSG} "x11-links doesn't seem to be installed." ${_PKG_SILENT}${_PKG_DEBUG}${FALSE} |