svn commit: r408821 - head/deskutils/calibre

Guido Falsi madpilot at FreeBSD.org
Sat Feb 13 18:18:12 UTC 2016


Author: madpilot
Date: Sat Feb 13 18:18:10 2016
New Revision: 408821
URL: https://svnweb.freebsd.org/changeset/ports/408821

Log:
  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

Modified:
  head/deskutils/calibre/Makefile

Modified: head/deskutils/calibre/Makefile
==============================================================================
--- head/deskutils/calibre/Makefile	Sat Feb 13 18:17:28 2016	(r408820)
+++ head/deskutils/calibre/Makefile	Sat Feb 13 18:18:10 2016	(r408821)
@@ -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/*
 


More information about the svn-ports-all mailing list