aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/kmplayer-kde4
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-08-23 02:12:39 +0800
committermakc <makc@FreeBSD.org>2010-08-23 02:12:39 +0800
commit842397df7df2f89de51791ec643d20d5bf727f49 (patch)
treedce7a494b90a22fdffb78de5b28bcea2cedbbd93 /multimedia/kmplayer-kde4
parentd12aada6dd0136bbda85ee16d178b8bffed0f12a (diff)
downloadfreebsd-ports-gnome-842397df7df2f89de51791ec643d20d5bf727f49.tar.gz
freebsd-ports-gnome-842397df7df2f89de51791ec643d20d5bf727f49.tar.zst
freebsd-ports-gnome-842397df7df2f89de51791ec643d20d5bf727f49.zip
Fix build with upcoming KDE 4.5
Approved by: Kris Moore (maintainer)
Diffstat (limited to 'multimedia/kmplayer-kde4')
-rw-r--r--multimedia/kmplayer-kde4/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/multimedia/kmplayer-kde4/Makefile b/multimedia/kmplayer-kde4/Makefile
index 473bec4e03a2..7b3479ec1dea 100644
--- a/multimedia/kmplayer-kde4/Makefile
+++ b/multimedia/kmplayer-kde4/Makefile
@@ -15,6 +15,7 @@ PKGNAMESUFFIX= -kde4
MAINTAINER= kris@pcbsd.org
COMMENT= KDE frontend to Phonon / KDE4
+BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
cairo.2:${PORTSDIR}/graphics/cairo
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
@@ -25,6 +26,10 @@ USE_CMAKE= yes
USE_KDE4= automoc4 kdehier kdeprefix kdelibs
USE_QT_VER= 4
QT_COMPONENTS= corelib qmake_build moc_build rcc_build uic_build
-USE_LDCONFIG= ${KDE4_PREFIX}/lib ${KDE4_PREFIX}/lib/kde4
+
+post-patch:
+#Fix build with kdelibs>=4.5.0
+ ${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \
+ ${WRKSRC}/doc/index.docbook
.include <bsd.port.mk>