Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2016 18:18:11 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408821 - head/deskutils/calibre
Message-ID:  <201602131818.u1DIIBoE011346@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/*
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602131818.u1DIIBoE011346>