aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2008-04-16 08:40:08 +0800
committermaho <maho@FreeBSD.org>2008-04-16 08:40:08 +0800
commite29c913149fd08282ae0e5214f2379d964b37d86 (patch)
tree04737ea5f3ad36d008ade92c95fc28b1db6127e4
parent617d16ff1bddaf19184296b592e656851b50d0c3 (diff)
downloadfreebsd-ports-gnome-e29c913149fd08282ae0e5214f2379d964b37d86.tar.gz
freebsd-ports-gnome-e29c913149fd08282ae0e5214f2379d964b37d86.tar.zst
freebsd-ports-gnome-e29c913149fd08282ae0e5214f2379d964b37d86.zip
Fix desktop integration.
Submitted by: Max Brazhnikov <makc@issp.ac.ru>
-rw-r--r--editors/openoffice-3-devel/Makefile2
-rw-r--r--editors/openoffice.org-3-devel/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/openoffice-3-devel/Makefile b/editors/openoffice-3-devel/Makefile
index 8efe29381c4a..acc8fbd9d7b2 100644
--- a/editors/openoffice-3-devel/Makefile
+++ b/editors/openoffice-3-devel/Makefile
@@ -267,7 +267,7 @@ post-install:
@${RM} ${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg/*.desktop.bak
@${RM} -f ${DESKTOPDIR}/${EXECBASE}
@${MKDIR} ${DESKTOPDIR}
- @${LN} -sf ${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg \
+ @${LN} -sf ${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg \
${DESKTOPDIR}/${EXECBASE}
@${ECHO_CMD} "share/applications/${EXECBASE}" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${TMPPLIST}
diff --git a/editors/openoffice.org-3-devel/Makefile b/editors/openoffice.org-3-devel/Makefile
index 8efe29381c4a..acc8fbd9d7b2 100644
--- a/editors/openoffice.org-3-devel/Makefile
+++ b/editors/openoffice.org-3-devel/Makefile
@@ -267,7 +267,7 @@ post-install:
@${RM} ${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg/*.desktop.bak
@${RM} -f ${DESKTOPDIR}/${EXECBASE}
@${MKDIR} ${DESKTOPDIR}
- @${LN} -sf ${PREFIX}/${INSTALLATION_BASEDIR}/share/xdg \
+ @${LN} -sf ${PREFIX}/${INSTALLATION_BASEDIR}/${OOODIR}/share/xdg \
${DESKTOPDIR}/${EXECBASE}
@${ECHO_CMD} "share/applications/${EXECBASE}" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${TMPPLIST}