aboutsummaryrefslogtreecommitdiffstats
path: root/finance/eqonomize-kde4
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-08-31 14:13:11 +0800
committermakc <makc@FreeBSD.org>2010-08-31 14:13:11 +0800
commit055635b666b0c83fc22b162d1a84d1bc1e88570a (patch)
treee8476cfdeafdb4e79c3597f216cbf3c9d02b1dd1 /finance/eqonomize-kde4
parentb75bc202b1280614dda22a63730f0a49741d3898 (diff)
downloadfreebsd-ports-gnome-055635b666b0c83fc22b162d1a84d1bc1e88570a.tar.gz
freebsd-ports-gnome-055635b666b0c83fc22b162d1a84d1bc1e88570a.tar.zst
freebsd-ports-gnome-055635b666b0c83fc22b162d1a84d1bc1e88570a.zip
Fix build with upcoming KDE 4.5
Approved by: Cezary Morga (maintainer)
Diffstat (limited to 'finance/eqonomize-kde4')
-rw-r--r--finance/eqonomize-kde4/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/finance/eqonomize-kde4/Makefile b/finance/eqonomize-kde4/Makefile
index 1a53e635ac49..d7ae3b383b30 100644
--- a/finance/eqonomize-kde4/Makefile
+++ b/finance/eqonomize-kde4/Makefile
@@ -15,6 +15,8 @@ PKGNAMESUFFIX= -kde4
MAINTAINER= cm@therek.net
COMMENT= A personal accounting software
+BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
+
USE_KDE4= kdelibs kdeprefix kdehier automoc4
USE_QT_VER= 4
QT_COMPONENTS= corelib dbus gui network svg xml qmake_build moc_build uic_build rcc_build
@@ -26,4 +28,9 @@ INSTALLS_ICONS= yes
DATADIR= ${PREFIX}/share/apps/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc
+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>