From owner-svn-ports-all@FreeBSD.ORG Sat May 11 09:18:07 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id BD2D0CE1; Sat, 11 May 2013 09:18:07 +0000 (UTC) Date: Sat, 11 May 2013 09:18:07 +0000 From: Alexey Dokuchaev To: Lars Engels Subject: Re: svn commit: r317834 - head/astro/swe Message-ID: <20130511091807.GA67148@FreeBSD.org> References: <201305101828.r4AISZWi094449@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201305101828.r4AISZWi094449@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 May 2013 09:18:07 -0000 On Fri, May 10, 2013 at 06:28:35PM +0000, Lars Engels wrote: > New Revision: 317834 > URL: http://svnweb.freebsd.org/changeset/ports/317834 > > @@ -24,6 +24,10 @@ post-patch: > -e 's|CFLAGS =|CFLAGS ?=|' \ > ${WRKSRC}/Makefile > > +.if ${OSVERSION} >= 100000 > + @${REINPLACE_CMD} -e 's|-O9|-O3|' ${WRKSRC}/Makefile > +.endif Any reason for this fix being conditional on OSVERSION? ./danfe