Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2018 16:55:44 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483149 - head/mail/mailscanner
Message-ID:  <201810271655.w9RGti18013452@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Sat Oct 27 16:55:44 2018
New Revision: 483149
URL: https://svnweb.freebsd.org/changeset/ports/483149

Log:
  Fix path for virus scanners
  
  Submitted by:	Samuel Chow <cyschow@shaw.ca>

Modified:
  head/mail/mailscanner/Makefile

Modified: head/mail/mailscanner/Makefile
==============================================================================
--- head/mail/mailscanner/Makefile	Sat Oct 27 16:47:13 2018	(r483148)
+++ head/mail/mailscanner/Makefile	Sat Oct 27 16:55:44 2018	(r483149)
@@ -3,6 +3,7 @@
 
 PORTNAME=	MailScanner
 PORTVERSION=	5.1.2
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	https://s3.amazonaws.com/msv5/release/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-${PATCHLEVEL}.nix
@@ -160,6 +161,8 @@ do-build:
 
 	@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
 		${WRKSRC}/usr/lib/${PORTNAME}/wrapper/*
+	@${REINPLACE_CMD} -e 's,/usr$$,&/local,' \
+		${WRKSRC}/etc/${PORTNAME}/virus.scanners.conf
 	@${FIND} ${WRKSRC} \( -name "*.bak" -or -name "*.orig" \) -delete
 
 do-install:



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