aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/klamav/Makefile11
-rw-r--r--security/klamav/files/ltmain.sh3
2 files changed, 4 insertions, 10 deletions
diff --git a/security/klamav/Makefile b/security/klamav/Makefile
index 67531fd2c3a1..bbff033cdf96 100644
--- a/security/klamav/Makefile
+++ b/security/klamav/Makefile
@@ -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 @@ MAINTAINER= anderson@cnpm.embrapa.br
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= libtool:15
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 --git a/security/klamav/files/ltmain.sh b/security/klamav/files/ltmain.sh
deleted file mode 100644
index e8b19bd90085..000000000000
--- a/security/klamav/files/ltmain.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-ln -s /usr/local/bin/libtool