From 3ded139f2a28f5aa800d604828b57fa4baf319c2 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Thu, 2 Sep 2010 22:01:02 +0000 Subject: [PATCH] Fix build on 6.x Reported by: pav, pointyhat --- net/cagibi/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net/cagibi/Makefile b/net/cagibi/Makefile index 6b5cdf910935..b237d1326267 100644 --- a/net/cagibi/Makefile +++ b/net/cagibi/Makefile @@ -20,8 +20,14 @@ USE_QT_VER= 4 QT_COMPONENTS= corelib network xml dbus \ qmake_build moc_build rcc_build uic_build +.include + +.if ${OSVERSION} < 700042 +CMAKE_USE_PTHREAD= yes +.endif + post-patch: @${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_SUFFIX}/data/' \ ${WRKSRC}/daemon/CMakeLists.txt -.include +.include