From anderson@cnpm.embrapa.br  Mon May 28 14:30:58 2007
Return-Path: <anderson@cnpm.embrapa.br>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 87A6016A4F1
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 May 2007 14:30:58 +0000 (UTC)
	(envelope-from anderson@cnpm.embrapa.br)
Received: from inga.cnpm.embrapa.br (inga.cnpm.embrapa.br [200.136.111.23])
	by mx1.freebsd.org (Postfix) with ESMTP id 46FB113C465
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 May 2007 14:30:58 +0000 (UTC)
	(envelope-from anderson@cnpm.embrapa.br)
Received: from caraiba.cnpm.embrapa.br (caraiba.cnpm.embrapa.br [200.136.111.98])
	by inga.cnpm.embrapa.br (Postfix) with ESMTP id EB3DD8A026
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 May 2007 11:13:06 -0300 (BRT)
Received: from localhost (localhost [127.0.0.1])
	by caraiba.cnpm.embrapa.br (Postfix) with ESMTP id 31A5916A48D
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 May 2007 11:13:13 -0300 (BRT)
Received: by caraiba.cnpm.embrapa.br (Postfix, from userid 1100)
	id 7D91616A490; Mon, 28 May 2007 11:13:12 -0300 (BRT)
Message-Id: <20070528141312.7D91616A490@caraiba.cnpm.embrapa.br>
Date: Mon, 28 May 2007 11:13:12 -0300 (BRT)
From: Anderson S. Ferreira <anderson@cnpm.embrapa.br>
Reply-To: Anderson S. Ferreira <anderson@cnpm.embrapa.br>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [maintainer-update] security/klamav: Fix build problems on FreeBSD 5.5 machines
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         113090
>Category:       ports
>Synopsis:       [maintainer-update] security/klamav: Fix build problems on FreeBSD 5.5 machines
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 28 14:40:05 GMT 2007
>Closed-Date:    Mon Jun 11 08:25:47 GMT 2007
>Last-Modified:  Mon Jun 11 08:30:06 GMT 2007
>Originator:     Anderson S. Ferreira
>Release:        FreeBSD 6.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD caraiba.cnpm.embrapa.br 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon May 21 09:40:19 BRT 2007 root@caraiba.cnpm.embrapa.br:/usr/src/sys/amd64/compile/CARAIBA amd64

>Description:
Fix build problems on FreeBSD 5.5 machines

>How-To-Repeat:

>Fix:

--- klamav.patch begins here ---
diff -Nru klamav/Makefile klamav/Makefile
--- klamav/Makefile	Sat May 19 17:22:41 2007
+++ klamav/Makefile	Fri May 25 09:31:37 2007
@@ -7,7 +7,7 @@
 
 PORTNAME=	klamav
 PORTVERSION=	0.41
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	klamav
@@ -17,7 +17,7 @@
 COMMENT=	A KDE 3 front-end to Clam Anti-Virus
 
 LIB_DEPENDS=	clamav:${PORTSDIR}/security/clamav \
-		sqlite3:${PORTSDIR}/databases/sqlite3
+		sqlite3:${PORTSDIR}/databases/sqlite3-threads
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -34,19 +34,16 @@
 USE_AUTOTOOLS+=	aclocal:19
 
 CONFIGURE_ENV=	LDFLAGS="${PTHREAD_LIBS} -lintl -L${PREFIX}/lib"
-CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
+CONFIGURE_ARGS+=--with-qt-dir=${QT_PREFIX} \
 		--without-included-sqlite
 
 USE_KDELIBS_VER=	3
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 500000
-IGNORE=	klamav doesn't compile on FreeBSD 4.X
-.endif
-
 pre-configure:
 	@${CP} ${LTMAIN} ${WRKSRC}/admin
 	@${CP} ${LIBTOOL_M4} ${WRKSRC}/admin
+	@${CP} ${PREFIX}/include/clamav-config.h ${WRKSRC}/src/klamd
 
 .include <bsd.port.post.mk>
diff -Nru klamav/files/ltmain.sh klamav/files/ltmain.sh
--- klamav/files/ltmain.sh	Wed Mar  7 19:47:09 2007
+++ klamav/files/ltmain.sh	Wed Dec 31 21:00:00 1969
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-ln -s /usr/local/bin/libtool
--- klamav.patch ends here ---


---
Aviso de confidencialidade:

- Esta mensagem da Empresa Brasileira de Pesquisa Agropecuria (Embrapa), empresa pblica federal regida pelo disposto na Lei Federal n 5.851, de 7 de dezembro de 1972,  enviada exclusivamente a seu destinatrio e pode conter informaes confidenciais, protegidas por sigilo profissional. Sua utilizao desautorizada  ilegal e sujeita o infrator s penas da lei. Se voc a recebeu indevidamente, queira, por gentileza, reenvi-la ao emitente, esclarecendo o equvoco.

Confidentiality note:

- "This message from Empresa Brasileira de Pesquisa Agropecuria (Embrapa), a government company established under Brazilian law (5.851/72), is directed exclusively to its addressee and may contain confidential data, protected under professional secrecy rules. Its unauthorized use is illegal and may subject the transgressor to the law's penalties. If you are not the addressee, please send it back, elucidating the failure". 
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Mon May 28 15:01:12 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113090 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Jun 11 08:25:45 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113090 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/113090: commit references a PR
Date: Mon, 11 Jun 2007 08:25:46 +0000 (UTC)

 miwi        2007-06-11 08:25:37 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/klamav      Makefile 
   Removed files:
     security/klamav/files ltmain.sh 
   Log:
   - Fix build problems with FreeBSD 5.5
   
   PR:             113090
   Submitted by:   Anderson S. Ferreira <anderson@cnpm.embrapa.br> (maintainer)
   
   Revision  Changes    Path
   1.9       +4 -7      ports/security/klamav/Makefile
   1.2       +0 -3      ports/security/klamav/files/ltmain.sh (dead)
 _______________________________________________
 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"
 
>Unformatted:
