aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2007-02-19 02:34:13 +0800
committergarga <garga@FreeBSD.org>2007-02-19 02:34:13 +0800
commit2da32fee626669022d30a83faabf597d526326cb (patch)
treed2ff95ef4d8d8c4a460d597137ad44f394b816f0 /security
parent53a43978c1ecfe1627445354141ba3827f05b10b (diff)
downloadfreebsd-ports-gnome-2da32fee626669022d30a83faabf597d526326cb.tar.gz
freebsd-ports-gnome-2da32fee626669022d30a83faabf597d526326cb.tar.zst
freebsd-ports-gnome-2da32fee626669022d30a83faabf597d526326cb.zip
- Fix build with clamav 0.90
- Bump PORTREVISION Reported by: krismail
Diffstat (limited to 'security')
-rw-r--r--security/squidclam/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/squidclam/Makefile b/security/squidclam/Makefile
index 63a7bd917825..35dadb4b6f59 100644
--- a/security/squidclam/Makefile
+++ b/security/squidclam/Makefile
@@ -7,6 +7,7 @@
PORTNAME= squidclam
PORTVERSION= 0.11
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -34,6 +35,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
-e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|cl_perror|cl_strerror|g' \
+ ${WRKSRC}/squidclam.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}