Mark as broken on 5.x: fails to find pthread.h.

Something in the infrastructure changed in the late July timeframe that
actually caused this problem.  The only major thing at that time was the
autoconf/libtool change, but I can't see how that could have caused this
failure mode.  It only happens on 5.x; 6.x and 7.x are fine.

Approved by:	portmgr (self)
This commit is contained in:
Mark Linimon 2007-11-25 01:24:13 +00:00
parent 77f2a8c9eb
commit 022234ed2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202834
4 changed files with 17 additions and 3 deletions

View File

@ -15,6 +15,9 @@ DISTNAME= ${PORTNAME}-opensource-${PORTVERSION}
MAINTAINER= fjoe@FreeBSD.org
COMMENT= Universal SQL/Application Server
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
LIB_DEPENDS= iodbc.3:${PORTSDIR}/databases/libiodbc
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS= --with-readline\
--with-iodbc=${LOCALBASE}\
@ -22,8 +25,6 @@ CONFIGURE_ARGS= --with-readline\
--disable-jdbc
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}"\
LDFLAGS="-L${LOCALBASE}/lib"
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
LIB_DEPENDS= iodbc.3:${PORTSDIR}/databases/libiodbc
ONLY_FOR_ARCHS= i386
OPTIONS= IMAGEMAGICK "ImageMagick support" off\
@ -61,6 +62,10 @@ BUILD_DEPENDS+= ${NETCAT}:${PORTSDIR}/net/netcat
CHECK_PORT= /usr/bin/nc -z localhost $$\1
.endif
.if ${OSVERSION} < 600000
BROKEN= Fails to compile: does not find pthread include file
.endif
.if defined(WITH_IMAGEMAGICK)
CONFIGURE_ARGS+=--enable-imagemagick=${LOCALBASE}
LIB_DEPENDS+= Magick.10:${PORTSDIR}/graphics/ImageMagick

View File

@ -31,6 +31,11 @@ PLIST_FILES= bin/squidclam %%EXAMPLESDIR%%/squidclam.conf
PLIST_DIRS= %%EXAMPLESDIR%%
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= Fails to compile: does not find pthread include file
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
-e 's|%%PREFIX%%|${PREFIX}|g' \

View File

@ -37,6 +37,10 @@ OPTIONS= SSL "Enable SSL proxying (not scanned, only forwarded!)" on \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= Fails to compile: does not find pthread include file
.endif
.if defined(WITH_SSL)
CONFIGURE_ARGS+= --enable-ssl-tunnel
.else

View File

@ -33,7 +33,7 @@ pre-configure:
.include <bsd.port.pre.mk>
.if ${OSVERSION} <= 600000
BROKEN= Does not compile
BROKEN= Fails to compile: does not find pthread include file
.endif
.include <bsd.port.post.mk>