From e3392d6ee53abf5b6814feb0472880c7d000b26e Mon Sep 17 00:00:00 2001 From: crees Date: Mon, 9 Jul 2012 20:00:07 +0000 Subject: Use COPYTREE_SHARE instead of CP -R PR: ports/169322 --- editors/xemacs-packages/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors') 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} && \ -- cgit