aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-08-24 23:43:21 +0800
committermakc <makc@FreeBSD.org>2010-08-24 23:43:21 +0800
commit64bf6e48d22f4f132fda5294192a7177c7e17b14 (patch)
tree66aef7c3cab625f26e71846e3d2d6af62c8ffce1
parent1f6d52b66c47ddcc8deed60673cbdd940dd6e3f6 (diff)
downloadfreebsd-ports-gnome-64bf6e48d22f4f132fda5294192a7177c7e17b14.tar.gz
freebsd-ports-gnome-64bf6e48d22f4f132fda5294192a7177c7e17b14.tar.zst
freebsd-ports-gnome-64bf6e48d22f4f132fda5294192a7177c7e17b14.zip
Fix build with upcoming KDE 4.5
Approved by: David Naylor (maintainer)
-rw-r--r--devel/kdesvn-kde4/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/kdesvn-kde4/Makefile b/devel/kdesvn-kde4/Makefile
index 73e1744612ac..9d24c19e4cfd 100644
--- a/devel/kdesvn-kde4/Makefile
+++ b/devel/kdesvn-kde4/Makefile
@@ -32,10 +32,18 @@ MAKE_JOBS_SAFE= yes
MAN1= kdesvn.1 kdesvnaskpass.1
+.if !defined(NOPORTDOCS)
+BUILD_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
+.endif
+
post-patch:
${RM} ${WRKSRC}/src/kiosvn/svn*.protocol
.if defined(NOPORTDOCS)
${ECHO} "ADD_SUBDIRECTORY(man)" > ${WRKSRC}/doc/CMakeLists.txt
+.else
+#Fix build with kdelibs>=4.5.0
+ ${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \
+ ${WRKSRC}/doc/nl/index.docbook
.endif
post-install: