aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/kgraphviewer
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-08-21 21:08:59 +0800
committermakc <makc@FreeBSD.org>2010-08-21 21:08:59 +0800
commit4ada9bb7ddb64984031a85ba4fabb3c11d8d2b1e (patch)
treead980d329debeccfb90e85ce60f8d4af43c32a24 /graphics/kgraphviewer
parenta040ce0af7ecd5773f2f18fb5e592b9a2f7c4118 (diff)
downloadfreebsd-ports-gnome-4ada9bb7ddb64984031a85ba4fabb3c11d8d2b1e.tar.gz
freebsd-ports-gnome-4ada9bb7ddb64984031a85ba4fabb3c11d8d2b1e.tar.zst
freebsd-ports-gnome-4ada9bb7ddb64984031a85ba4fabb3c11d8d2b1e.zip
Fix build with upcoming KDE 4.5
Don't bump PORTREVISION: packages built vs KDE 4.4 work fine with 4.5
Diffstat (limited to 'graphics/kgraphviewer')
-rw-r--r--graphics/kgraphviewer/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/kgraphviewer/Makefile b/graphics/kgraphviewer/Makefile
index a82022f0f54b..b567c2b4c057 100644
--- a/graphics/kgraphviewer/Makefile
+++ b/graphics/kgraphviewer/Makefile
@@ -16,6 +16,7 @@ DIST_SUBDIR= KDE/extragear
MAINTAINER= kde@FreeBSD.org
COMMENT= GraphViz dot graph viewer for KDE
+BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
LIB_DEPENDS= gvc.5:${PORTSDIR}/graphics/graphviz
USE_BZIP2= yes
@@ -28,4 +29,10 @@ MAKE_JOBS_SAFE= yes
APP_VER= 2.0.2
EXTRA_VER= 4.4.0
+post-patch:
+#Fix build with kdelibs>=4.5.0
+ ${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \
+ ${WRKSRC}/doc-translations/*_kgraphviewer/kgraphviewer/index.docbook \
+ ${WRKSRC}/doc/index.docbook
+
.include <bsd.port.mk>