Bug 111701

Summary: Compilation of clamav-0.90.2 fails on FreeBSD 6.1 (undefined reference to gethostbyname_r)
Product: Ports & Packages Reporter: Max Arnold <amv_cbx>
Component: Individual Port(s)Assignee: Renato Botelho <garga>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Max Arnold 2007-04-16 08:40:12 UTC
Upgrading clamav from 0.90.1 to 0.90.2 failed on FreeBSD 6.1 (and maybe 6.0) with  undefined reference to function gethostbyname_r().

Fix: 

Revert back this patch: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/111478
Or increase OSVERSION here:

.if ${OSVERSION} < 600000
CONFIGURE_ARGS+=        --disable-gethostbyname_r
.else
CONFIGURE_ARGS+=        --enable-gethostbyname_r
.endif
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-04-16 09:04:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->garga

Over to maintainer
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2007-04-16 12:19:48 UTC
State Changed
From-To: open->closed

Fixed. Thanks!