From owner-freebsd-ports@FreeBSD.ORG Fri Dec 21 10:33:33 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43AB916A46B for ; Fri, 21 Dec 2007 10:33:33 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (ipv6.darklight.org.ru [IPv6:2001:470:1f07:84::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3C2BA13C474 for ; Fri, 21 Dec 2007 10:33:31 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (yuri@darklight.org.ru [IPv6:::1]) by darklight.org.ru (8.14.2/8.14.2) with ESMTP id lBLAWeTi058246; Fri, 21 Dec 2007 13:32:40 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.2/8.14.2/Submit) id lBLAWcFe058239; Fri, 21 Dec 2007 13:32:38 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Fri, 21 Dec 2007 13:32:38 +0300 From: Yuri Pankov To: Rodion Turlac Message-ID: <20071221103238.GA1223@darklight.org.ru> References: <476B8C57.6090600@fincombank.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <476B8C57.6090600@fincombank.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: b3k@mail.ru, freebsd-ports@freebsd.org Subject: Re: havp and clamav support X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 10:33:33 -0000 --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 > > ===> havp-0.86_1 depends on shared library: clamav.3 - found > ===> Configuring for havp-0.86_1 > checking for ClamAV scanner library... disabled :-( > > > 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 + .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 +.include --ew6BAiZeqk4r7MaW--