1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

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)
This commit is contained in:
Max Brazhnikov 2010-08-22 07:17:30 +00:00
parent af3777ecfa
commit 29226c2dc1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259722

View File

@ -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)|' \