aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/kiconedit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kiconedit/Makefile')
-rw-r--r--graphics/kiconedit/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/kiconedit/Makefile b/graphics/kiconedit/Makefile
index 7f00200bf009..54389e7ebea0 100644
--- a/graphics/kiconedit/Makefile
+++ b/graphics/kiconedit/Makefile
@@ -15,6 +15,8 @@ DIST_SUBDIR= KDE/extragear
MAINTAINER= kde@FreeBSD.org
COMMENT= A KDE icon editor
+BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
+
USE_BZIP2= yes
USE_KDE4= kdelibs kdeprefix kdehier automoc4
USE_QT_VER= 4
@@ -24,4 +26,9 @@ MAKE_JOBS_SAFE= yes
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/hu_kiconedit/kiconedit/index.docbook
+
.include <bsd.port.mk>