svn commit: r308562 - head/www/squidclamav
Martin Matuska
mm at FreeBSD.org
Sun Dec 9 21:22:10 UTC 2012
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 at 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>
More information about the svn-ports-head
mailing list