1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Fix a script executions crash.

PR:		136882
Reported by:	Wasil Sergejczyk <szelga.wws@gmail.com>
Submitted by:	Alberto Villa <villa.alberto@gmail.com> (maintainer)
This commit is contained in:
Martin Wilke 2009-09-03 08:49:49 +00:00
parent 935c2ad004
commit a69d56d5bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240775

View File

@ -6,6 +6,7 @@
PORTNAME= kdenlive
PORTVERSION= 0.7.5
PORTREVISION= 1
CATEGORIES= multimedia kde
MASTER_SITES= SF
@ -51,11 +52,15 @@ RUN_DEPENDS+= recordmydesktop:${PORTSDIR}/multimedia/recordmydesktop
.endif
post-patch:
# do not install the icon and the menu entry
${REINPLACE_CMD} -E -e '/${PORTNAME}.(menu|xpm)/d' \
${PATCH_WRKSRC}/data/CMakeLists.txt
# prevent updating mime during build
${REINPLACE_CMD} -e '/^update_xdg_mimetypes/d; /SharedMimeInfo/d' \
${PATCH_WRKSRC}/src/mimetypes/CMakeLists.txt
# avoid a crash when kdenlive_render is not in $PATH
${REINPLACE_CMD} -e 's|QCoreApplication::applicationDirPath()|QStrin g("${PREFIX}/bin")|g' \
${PATCH_WRKSRC}/src/renderwidget.cpp
post-install:
@-update-mime-database ${PREFIX}/share/mime