Wyle Coyote wrote:
> I don't want to get off track and this certainly has.
> I think it is important people don't spin their
> wheels, with mis-information.

I don't think it is off track at all.  It concerns the building of
Clamav on FreeBSD.  The only mis-information here is that you
are saying it does not work when it does.

> 
> 91 doesn't build with the current port tree on a 4.X
> box. It was stripped of 4.X. It can not build.
> 

You are wrong.  If you don't believe me, try it.  Like I said,
I have successfully built and installed 0.91.1 on 4.11 from
the latest ports tagged with "tag=."  I have working proof of
this.

> Here is snapshot from the port Makefile for 91.1
> Freebsd ver 1.1.02
> 
> .if ${OSVERSION} < 601103
> CONFIGURE_ARGS+=      --disable-gethostbyname_r
> .else
> CONFIGURE_ARGS+=      --enable-gethostbyname_r
> .endif
> 
> # This port has a problem with -pthread,
> # force to use -lthr until it's not fixed.
> .if ${OSVERSION} >= 601000
> PTHREAD_LIBS= -lthr
> .endif
> # Maybe the port is broken for
> # FreeBSD 5.2.1 since -lc_r
> # and -pthread have both issues there.
> .if ${OSVERSION} == 502010
> PTHREAD_LIBS= -pthread
> .endif
> ----snip----
> 
> No 4.X support. Also note 4.X requires -lc_r for
> pthread.
> 

Those if statements are for special conditions for FreeBSD versions
greater then 6.1 and equal to 5.2.1.  I don't see anything in there
that precludes it from building on 4.11.

Steven


_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to