Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2007 13:32:38 +0300
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        Rodion Turlac <rodion@fincombank.com>
Cc:        b3k@mail.ru, freebsd-ports@freebsd.org
Subject:   Re: havp and clamav support
Message-ID:  <20071221103238.GA1223@darklight.org.ru>
In-Reply-To: <476B8C57.6090600@fincombank.com>
References:  <476B8C57.6090600@fincombank.com>

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

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="havp.diff"

--- 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>

--ew6BAiZeqk4r7MaW--



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