Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2007 11:13:12 -0300 (BRT)
From:      "Anderson S. Ferreira" <anderson@cnpm.embrapa.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/113090: [maintainer-update] security/klamav: Fix build problems on FreeBSD 5.5 machines
Message-ID:  <20070528141312.7D91616A490@caraiba.cnpm.embrapa.br>
Resent-Message-ID: <200705281440.l4SEe6W6000358@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 28 14:40:05 GMT 2007
>Closed-Date:
>Last-Modified:
>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 Agropecuária (Embrapa), empresa pública federal regida pelo disposto na Lei Federal nº 5.851, de 7 de dezembro de 1972, é enviada exclusivamente a seu destinatário e pode conter informações confidenciais, protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, por gentileza, reenviá-la ao emitente, esclarecendo o equívoco.

Confidentiality note:

- "This message from Empresa Brasileira de Pesquisa Agropecuária (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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070528141312.7D91616A490>