From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 15 15:30:09 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DC3316A47B for ; Thu, 15 Mar 2007 15:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2941413C4B0 for ; Thu, 15 Mar 2007 15:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2FFU8cF062183 for ; Thu, 15 Mar 2007 15:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2FFU8I2062182; Thu, 15 Mar 2007 15:30:08 GMT (envelope-from gnats) Date: Thu, 15 Mar 2007 15:30:08 GMT Message-Id: <200703151530.l2FFU8I2062182@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Laurent Frigault Cc: Subject: Re: ports/110334: clamav-0.90.1 does not compile under FreeBSD 4.X X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Laurent Frigault List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 15:30:09 -0000 The following reply was made to PR ports/110334; it has been noted by GNATS. From: Laurent Frigault To: bug-followup@FreeBSD.org, lfrigault@agneau.org Cc: Subject: Re: ports/110334: clamav-0.90.1 does not compile under FreeBSD 4.X Date: Thu, 15 Mar 2007 16:16:48 +0100 On Thu, Mar 15, 2007 at 02:30:03PM +0000, FreeBSD-gnats-submit@FreeBSD.org wrote: > Thank you very much for your problem report. > It has the internal identification `ports/110334'. > The individual assigned to look at your > report is: freebsd-ports-bugs. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=110334 > > >Category: ports > >Responsible: freebsd-ports-bugs > >Synopsis: clamav-0.90.1 does not compile under FreeBSD 4.X > >Arrival-Date: Thu Mar 15 14:30:02 GMT 2007 There seems to be an other problem with libthr under FreeBSD 5.X . clamd locks when using this lib (at least on my home system) : % uname -a FreeBSD obelix.bergerie.agneau.org 5.5-STABLE FreeBSD 5.5-STABLE #0: Tue Oct 3 10:54:54 CEST 2006 lolo@obelix.bergerie.agneau.org:/usr/src/sys/i386/compile/OBELIX i386 I've modified the previous patch to only use libthr under OSVERSION >= 6.X : --- Makefile.orig Thu Mar 15 16:09:03 2007 +++ Makefile Thu Mar 15 15:58:53 2007 @@ -30,9 +30,14 @@ USE_LDCONFIG= yes USE_RC_SUBR= clamav-clamd clamav-freshclam +.include + +.if ${OSVERSION} >= 600000 # This port has a problem with -pthread, # force to use -lthr until it's not fixed. PTHREAD_LIBS= -lthr +.endif + PORTDOCS= * @@ -99,8 +104,6 @@ PLIST_SUB+= CLAMAVUSER=${CLAMAVUSER} \ CLAMAVGROUP=${CLAMAVGROUP} - -.include .if ${OSVERSION} == 502010 PTHREAD_LIBS= -pthread -- Laurent Frigault |