diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2016-02-13 18:18:10 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2016-02-13 18:18:10 +0000 |
commit | 7f59cc28ce8f2a13941fc97a4a155f49bbce6d02 (patch) | |
tree | f4068a2db3b218f71b68adcfb6d9932fb5e8391f | |
parent | Update to 0.160410. Note that the dependencies have all changed for this (diff) |
Fix strange build issue related to xdg-utils.
This is just a workaround to fix the issue at hand.
Reported by: Alex V. Petrov <alexvpetrov at gmail.com>,
Christoph Moench-Tegeder <cmt at burggraben.net>,
Walter Schwarzenfeld <w.schwarzenfeld at utanet.at>
marino
Notes
Notes:
svn path=/head/; revision=408821
-rw-r--r-- | deskutils/calibre/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deskutils/calibre/Makefile b/deskutils/calibre/Makefile index a8e86852a9a9..d85feefc5675 100644 --- a/deskutils/calibre/Makefile +++ b/deskutils/calibre/Makefile @@ -97,10 +97,13 @@ do-install: ${STAGEDIR}${PREFIX}/share/applications \ ${STAGEDIR}${PREFIX}/share/desktop-directories \ ${STAGEDIR}${PREFIX}/share/mime/packages + # Create this file to avoid what looks like a bug in xdg-desktop-menu + @${TOUCH} ${STAGEDIR}${PREFIX}/share/applications/defaults.list (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ ${PYSETUP} install --prefix ${PREFIX} \ --staging-root ${STAGEDIR}${PREFIX}) - @${RM} ${STAGEDIR}${PREFIX}/bin/calibre-uninstall + @${RM} ${STAGEDIR}${PREFIX}/bin/calibre-uninstall \ + ${STAGEDIR}${PREFIX}/share/applications/defaults.list @${RMDIR} ${STAGEDIR}${PREFIX}/share/desktop-directories @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/calibre/calibre/plugins/* |