Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2012 21:22:10 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308562 - head/www/squidclamav
Message-ID:  <201212092122.qB9LMAPL034613@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Sun Dec  9 21:22:09 2012
New Revision: 308562
URL: http://svnweb.freebsd.org/changeset/ports/308562

Log:
  Fix build of squidclamav.so and location of squidclamav.conf in header
  
  PR:		ports/174288
  Submitted by:	Kazuhiro Kinugawa <Kazuhiro.Kinugawa@outlook.com>

Modified:
  head/www/squidclamav/Makefile

Modified: head/www/squidclamav/Makefile
==============================================================================
--- head/www/squidclamav/Makefile	Sun Dec  9 20:19:41 2012	(r308561)
+++ head/www/squidclamav/Makefile	Sun Dec  9 21:22:09 2012	(r308562)
@@ -7,6 +7,7 @@
 
 PORTNAME=	squidclamav
 PORTVERSION=	6.10
+PORTREVISION=	1
 CATEGORIES=	www security
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
 
@@ -22,7 +23,7 @@ CFLAGS+=	-DHAVE_STRNSTR
 
 MAN1=		squidclamav.1
 
-CONFIGURE_ARGS+=	--enable-static \
+CONFIGURE_ARGS+=	--enable-shared --enable-static \
 			--sysconfdir="${PREFIX}/etc/c-icap" \
 			--with-c-icap=${LOCALBASE}
 
@@ -30,6 +31,6 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|CFGDIR=.*|CFGDIR="${PREFIX}/etc/c-icap"|g' \
 		${WRKSRC}/configure.in ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|/etc/squidclamav.conf|${PREFIX}/etc/c\\-icap/squidclamav.conf|g' \
-		${WRKSRC}/doc/squidclamav.1
+		${WRKSRC}/doc/squidclamav.1 ${WRKSRC}/src/squidclamav.h
 
 .include <bsd.port.mk>



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