From owner-svn-ports-head@freebsd.org Fri Dec 7 16:19:50 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 6DD8813127FA; Fri, 7 Dec 2018 16:19:50 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 142BC6BD99; Fri, 7 Dec 2018 16:19:50 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 0337185F4; Fri, 7 Dec 2018 16:19:49 +0000 (UTC) From: Jan Beich To: Mark Linimon Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r486867 - head/security/clamav References: <201812071534.wB7FYq8c046018@repo.freebsd.org> Date: Fri, 07 Dec 2018 17:19:44 +0100 In-Reply-To: <201812071534.wB7FYq8c046018@repo.freebsd.org> (Mark Linimon's message of "Fri, 7 Dec 2018 15:34:52 +0000 (UTC)") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 142BC6BD99 X-Spamd-Result: default: False [-2.79 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.93)[-0.931,0]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-0.90)[-0.901,0] X-Rspamd-Server: mx1.freebsd.org 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: Fri, 07 Dec 2018 16:19:50 -0000 Mark Linimon writes: > Author: linimon > Date: Fri Dec 7 15:34:52 2018 > New Revision: 486867 > URL: https://svnweb.freebsd.org/changeset/ports/486867 > > Log: > Base GCC supports neither -Wno-logical-op-parentheses nor -Wno-dangling-else. > Remove them on GCC-based architectures to fix build. > > PR: 233800 > Submitted by: Piotr Kubaj > Approved by: maintainer > > Modified: > head/security/clamav/Makefile > > Modified: head/security/clamav/Makefile > ============================================================================== > --- head/security/clamav/Makefile Fri Dec 7 15:24:08 2018 (r486866) > +++ head/security/clamav/Makefile Fri Dec 7 15:34:52 2018 (r486867) > @@ -141,6 +141,8 @@ SED_CONF= -E -e 's|^\#?(Example)$$|\#\1|' \ > -e 's|^\#?(MilterSocket) */tmp.*$$|\1 ${CLAMAV_MILTER_SOCKET}|' \ > -e 's|^\#?(ClamdSocket).*$$|\1 unix:${CLAMAV_CLAMD_SOCKET}|' > > +.include > + [...] > +.if exists(/usr/lib/libstdc++.so) Why do you need if only exists() is used?