From 4ada9bb7ddb64984031a85ba4fabb3c11d8d2b1e Mon Sep 17 00:00:00 2001 From: makc Date: Sat, 21 Aug 2010 13:08:59 +0000 Subject: Fix build with upcoming KDE 4.5 Don't bump PORTREVISION: packages built vs KDE 4.4 work fine with 4.5 --- graphics/kgraphviewer/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'graphics/kgraphviewer') 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 -- cgit