Fix build on 6.x

Reported by:	 pav, pointyhat
This commit is contained in:
Max Brazhnikov 2010-09-02 22:01:02 +00:00
parent 80d72acd67
commit 3ded139f2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260455

View file

@ -20,8 +20,14 @@ USE_QT_VER= 4
QT_COMPONENTS= corelib network xml dbus \ QT_COMPONENTS= corelib network xml dbus \
qmake_build moc_build rcc_build uic_build qmake_build moc_build rcc_build uic_build
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700042
CMAKE_USE_PTHREAD= yes
.endif
post-patch: post-patch:
@${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_SUFFIX}/data/' \ @${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_SUFFIX}/data/' \
${WRKSRC}/daemon/CMakeLists.txt ${WRKSRC}/daemon/CMakeLists.txt
.include <bsd.port.mk> .include <bsd.port.post.mk>