aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2009-08-19 17:04:26 +0800
committerlioux <lioux@FreeBSD.org>2009-08-19 17:04:26 +0800
commit1166aea9005ae20b608b3689f14feed1d24d02c0 (patch)
treeb04c993b18ea37d9e39de632d5bc7e221fcc75ab
parent6b410a71126921aea3ed5d681be3081077e11c39 (diff)
downloadfreebsd-ports-gnome-1166aea9005ae20b608b3689f14feed1d24d02c0.tar.gz
freebsd-ports-gnome-1166aea9005ae20b608b3689f14feed1d24d02c0.tar.zst
freebsd-ports-gnome-1166aea9005ae20b608b3689f14feed1d24d02c0.zip
After recent QT4 update, fix build on OSVERSION < 700042
PR: 137798 Submitted by: makc
-rw-r--r--graphics/qcomicbook/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/qcomicbook/Makefile b/graphics/qcomicbook/Makefile
index 9b05304fce43..c82ddf9b0779 100644
--- a/graphics/qcomicbook/Makefile
+++ b/graphics/qcomicbook/Makefile
@@ -36,6 +36,11 @@ OPTIONS= 7ZIP "Enable support for 7-Zip (.cb7) comic book archives" on \
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 700042
+CPPFLAGS+= ${PTHREAD_CFLAGS}
+QTCFGLIBS+= ${PTHREAD_LIBS}
+.endif
+
# 7-Zip (.cb7) support
.if !defined(WITHOUT_7ZIP)
RUN_DEPENDS+= 7z:${PORTSDIR}/archivers/p7zip