From 5d9843b75b441719a53417815d77eeebe0687bb9 Mon Sep 17 00:00:00 2001 From: Chris Rees Date: Mon, 9 Jul 2012 20:00:07 +0000 Subject: [PATCH] Use COPYTREE_SHARE instead of CP -R PR: ports/169322 --- editors/xemacs-packages/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editors/xemacs-packages/Makefile b/editors/xemacs-packages/Makefile index dcc583545cb2..526f0d05cc7e 100644 --- a/editors/xemacs-packages/Makefile +++ b/editors/xemacs-packages/Makefile @@ -149,8 +149,8 @@ post-patch: ${FIND} ${WRKSRC} -name \*.orig -exec ${RM} -f \{} \; do-install: - ${MKDIR} ${XEMACSDIR} - ${CP} -R ${WRKSRC} ${XEMACSDIR} + ${MKDIR} ${XEMACSDIR}/${PACKAGES_SUBDIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${XEMACSDIR}/${PACKAGES_SUBDIR}) post-install: @cd ${WRKDIR} && \