From owner-svn-ports-head@freebsd.org Sat Oct 27 16:55:45 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F8BE10CC530; Sat, 27 Oct 2018 16:55:45 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A1FA71E96; Sat, 27 Oct 2018 16:55:45 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 15A33130F4; Sat, 27 Oct 2018 16:55:45 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9RGtiCO013453; Sat, 27 Oct 2018 16:55:44 GMT (envelope-from crees@FreeBSD.org) Received: (from crees@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9RGti18013452; Sat, 27 Oct 2018 16:55:44 GMT (envelope-from crees@FreeBSD.org) Message-Id: <201810271655.w9RGti18013452@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: crees set sender to crees@FreeBSD.org using -f From: Chris Rees Date: Sat, 27 Oct 2018 16:55:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483149 - head/mail/mailscanner X-SVN-Group: ports-head X-SVN-Commit-Author: crees X-SVN-Commit-Paths: head/mail/mailscanner X-SVN-Commit-Revision: 483149 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2018 16:55:45 -0000 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 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: