diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2010-08-22 07:17:30 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-08-22 07:17:30 +0000 |
commit | 29226c2dc11648e95ddea5f9953247d5197ca876 (patch) | |
tree | 539407bdd451898e8f92277f1ef581836990267f /math | |
parent | af3777ecfa189204dc1ddcb36ff0e6d6d525d5dc (diff) | |
download | ports-29226c2dc11648e95ddea5f9953247d5197ca876.tar.gz ports-29226c2dc11648e95ddea5f9953247d5197ca876.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/rkward-kde4/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/math/rkward-kde4/Makefile b/math/rkward-kde4/Makefile index 03a88adf58c2..c810efbb8cda 100644 --- a/math/rkward-kde4/Makefile +++ b/math/rkward-kde4/Makefile @@ -39,6 +39,10 @@ NLS= "" .endif PLIST_SUB+= NLS=${NLS} +.if !defined(NOPORTDOCS) +BUILD_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml +.endif + PHP2FIX= rkward/settings/rksettingsmodulephp.cpp .if defined(WITH_DEBUG) @@ -53,6 +57,10 @@ pre-configure: .if defined(NOPORTDOCS) ${REINPLACE_CMD} -e 's|ADD_SUBDIRECTORY(doc)|#ADD_SUBDIRECTORY(doc)|' \ ${WRKSRC}/CMakeLists.txt +.else +#Fix build with kdelibs>=4.5.0 + ${REINPLACE_CMD} -e 's,V4.1-Based Variant V1.0,V4.2-Based Variant V1.1,g' \ + ${WRKSRC}/doc/rkward/index.docbook .endif .if defined(WITHOUT_NLS) ${REINPLACE_CMD} -e 's|ADD_SUBDIRECTORY(po)|#ADD_SUBDIRECTORY(po)|' \ |