aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-09-03 06:01:02 +0800
committermakc <makc@FreeBSD.org>2010-09-03 06:01:02 +0800
commit8766a989e068a1b75d0f02f21fb43c6d89f51838 (patch)
tree2113aa577c06f61dc5e3c7e82374e0366cf6ae96 /net
parent0f388eb128266677b8d6c85212f0834117b34359 (diff)
downloadfreebsd-ports-gnome-8766a989e068a1b75d0f02f21fb43c6d89f51838.tar.gz
freebsd-ports-gnome-8766a989e068a1b75d0f02f21fb43c6d89f51838.tar.zst
freebsd-ports-gnome-8766a989e068a1b75d0f02f21fb43c6d89f51838.zip
Fix build on 6.x
Reported by: pav, pointyhat
Diffstat (limited to 'net')
-rw-r--r--net/cagibi/Makefile8
1 files changed, 7 insertions, 1 deletions
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 <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700042
+CMAKE_USE_PTHREAD= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_SUFFIX}/data/' \
${WRKSRC}/daemon/CMakeLists.txt
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>