Patch for 0.95.1 which was commited to the tree recently.

freshclam works, but that's not a real test. Please test, I'm not in a
position to do that now. TIA.

-- 
best regards
q#
Index: Makefile
===================================================================
RCS file: /cvs/ports/security/clamav/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile    11 Apr 2009 14:13:58 -0000      1.42
+++ Makefile    12 Apr 2009 00:17:28 -0000
@@ -31,11 +31,6 @@
 
 USE_LIBTOOL=           Yes
 
-# XXX dlopen() of modules fails with the ports-tree libltdl.
-#     the bundled libltdl won't build with ports-tree libtool;
-#     use bundled versions of both for now.
-LIBTOOL=               ${WRKSRC}/libtool
-
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=clamav/}
 
 CONFIGURE_STYLE=        gnu
@@ -48,6 +43,8 @@
                        --with-user=_clamav \
                        --with-group=_clamav \
                         --disable-cr \
+                       --with-ltdl-include=${LOCALBASE}/include \
+                       --with-ltdl-lib=${LOCALBASE}/lib \
                        --with-dbdir=/var/db/clamav
 
 REGRESS_TARGET=                check

Reply via email to