Summary: | clamav-0.90.1 does not compile under FreeBSD 4.X | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Laurent Frigault <lfrigault> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Laurent Frigault
2007-03-15 14:30:02 UTC
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 <bsd.port.pre.mk> + +.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 <bsd.port.pre.mk> .if ${OSVERSION} == 502010 PTHREAD_LIBS= -pthread -- Laurent Frigault | <url:http://www.agneau.org/> mbr 2007-03-16 12:20:45 UTC FreeBSD ports repository Modified files: security/clamav Makefile Log: And unbreak support for older FreeBSDs where libthr/libpthread did not exist. PR: 110334 Revision Changes Path 1.94 +9 -5 ports/security/clamav/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Fixed, thanks. |