aboutsummaryrefslogtreecommitdiff
path: root/editors/xemacs-mule-packages/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/xemacs-mule-packages/Makefile')
-rw-r--r--editors/xemacs-mule-packages/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/editors/xemacs-mule-packages/Makefile b/editors/xemacs-mule-packages/Makefile
index f0d1ba3dc1b4..b58db5b63664 100644
--- a/editors/xemacs-mule-packages/Makefile
+++ b/editors/xemacs-mule-packages/Makefile
@@ -44,8 +44,10 @@ do-install:
post-install:
@cd ${WRKDIR} && \
- ${FIND} ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \
- ${FIND} ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST}
+ ${FIND} ${PACKAGES_SUBDIR} -type f|${SORT}| \
+ ${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \
+ ${FIND} ${PACKAGES_SUBDIR}/*/* -type d|${SORT} -r| \
+ ${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST}
@${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST}
@${ECHO_CMD} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST}
@${ECHO_CMD} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST}