diff options
author | makc <makc@FreeBSD.org> | 2010-08-22 15:17:30 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2010-08-22 15:17:30 +0800 |
commit | 52d1d10d002c7f6dee9b57a9431aaee89029f9dd (patch) | |
tree | aa5b1067f4a8f4db87c48fec5e6c76d51dc717d8 /math/rkward-kde4 | |
parent | 6174c425feebb71493458ec30401a39d851b30c6 (diff) | |
download | freebsd-ports-gnome-52d1d10d002c7f6dee9b57a9431aaee89029f9dd.tar.gz freebsd-ports-gnome-52d1d10d002c7f6dee9b57a9431aaee89029f9dd.tar.zst freebsd-ports-gnome-52d1d10d002c7f6dee9b57a9431aaee89029f9dd.zip |
Fix build with upcoming KDE 4.5
Don't bump PORTREVISION: packages built vs KDE 4.4 work fine with 4.5
Approved by: thierry (maintainer)
Diffstat (limited to 'math/rkward-kde4')
-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)|' \ |