1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

After recent QT4 update, fix build on OSVERSION < 700042

PR:		137798
Submitted by:	makc
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2009-08-19 09:04:26 +00:00
parent 31215c888a
commit 1c0ac362b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239932

View File

@ -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