- Fix build on 6.x (gcc 3.x)

Noticed by:	pointyhat via pav
This commit is contained in:
Rong-En Fan 2008-07-16 05:48:18 +00:00
parent 2855aa97d3
commit 96acac8d56
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216898

View File

@ -125,6 +125,11 @@ JB_CONF_ARGS+= sasl=no
LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2
.endif
post-patch:
.if ${OSVERSION} < 700042
@${REINPLACE_CMD} -e "s,-Wno-pointer-sign,," ${WRKSRC}/jb
.endif
do-configure:
cd ${WRKSRC} && ${JB_CONF_ENV} ./jb configure ${JB_CONF_ARGS}