Bug 113090 - [maintainer-update] security/klamav: Fix build problems on FreeBSD 5.5 machines
Summary: [maintainer-update] security/klamav: Fix build problems on FreeBSD 5.5 machines
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-28 15:40 UTC by Anderson S. Ferreira
Modified: 2007-06-11 09:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anderson S. Ferreira 2007-05-28 15:40:05 UTC
Fix build problems on FreeBSD 5.5 machines

Fix: 

---
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".--EXERXH8hAb85c9Y0WZP0KKzg1Ix0t8Wm9zFMTXePSuBYGbWJ
Content-Type: text/plain; name="klamav.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="klamav.patch"

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
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2007-05-28 16:01:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2007-06-11 09:25:45 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-06-11 09:25:46 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"