Fix build after recent Qt4 update.

Approved by:	portmgr (miwi)
This commit is contained in:
Max Brazhnikov 2009-08-14 11:45:09 +00:00
parent 3488a8f7c3
commit 11e5a71ae5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239519

View file

@ -24,6 +24,12 @@ USE_QT_VER= 4
QT_COMPONENTS= corelib qmake_build uic_build moc_build rcc_build
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700042
CMAKE_USE_PTHREAD= yes
.endif
post-extract:
${MKDIR} ${WRKSRC}
@ -32,4 +38,4 @@ post-patch:
"s,$${LIB_INSTALL_DIR}/pkgconfig,data/pkgconfig,g"\
${WRKSRC}/../CMakeLists.txt
.include <bsd.port.mk>
.include <bsd.port.post.mk>