havp and clamav support

Yuri Pankov yuri.pankov at gmail.com
Fri Dec 21 02:33:33 PST 2007


On Fri, Dec 21, 2007 at 11:50:15AM +0200, Rodion Turlac wrote:
> Hi!
> Havp port is not built with clamav support
>
> mail# cat /var/db/ports/havp/options
> # This file is auto-generated by 'make config'.
> # No user-servicable parts inside!
> # Options for havp-0.85
> _OPTIONS_READ=havp-0.85
> WITHOUT_SSL=true
> WITH_CLAMAV=true
> WITHOUT_TROPHIE=true
>
> cd /usr/ports/www/havp/
> mail# make configure
> ===>  Found saved configuration for havp-0.85
> <skip>
> ===>   havp-0.86_1 depends on shared library: clamav.3 - found
> ===>  Configuring for havp-0.86_1
> checking for ClamAV scanner library... disabled :-(
> <skip>
>
> mail# head work/havp-0.86/config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by configure, which was
> generated by GNU Autoconf 2.61.  Invocation command line was
>
>  $ ./configure --disable-locking --disable-ssl-tunnel --disable-clamav 
> --disable-trophie
> --prefix=/usr/local--mandir=/usr/local/man --infodir=/usr/local/info/ 
> --build=i386-portbld-freebsd6.2
>
> Any suggestion?
>
> -- 
> Rodion Turlac

There seems to be a problem with Makefile - it should include
bsd.port.pre.mk before testing variables set by OPTIONS. Try attached
patch. Maintainer Cc'ed.


HTH,
Yuri
-------------- next part --------------
--- Makefile.orig	2007-12-21 13:26:57.000000000 +0300
+++ Makefile	2007-12-21 13:27:23.000000000 +0300
@@ -36,6 +36,8 @@
 			CLAMAV "Enable libclamav support" on \
 			TROPHIE "Enable Trend Micro (Trophie) support" off
 
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_SSL)
 CONFIGURE_ARGS+=	--enable-ssl-tunnel
 .else
@@ -66,4 +68,4 @@
 	@${CP} ${WRKSRC}/etc/havp/whitelist ${EXAMPLESDIR}/whitelist.sample
 	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the freebsd-ports mailing list