From owner-svn-ports-head@FreeBSD.ORG Wed Oct 30 14:35:59 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id D6CFBB0F; Wed, 30 Oct 2013 14:35:59 +0000 (UTC) Date: Wed, 30 Oct 2013 14:35:59 +0000 From: Alexey Dokuchaev To: Cy Schubert Subject: Re: svn commit: r332109 - in head/net/vnc: . files Message-ID: <20131030143559.GA34668@FreeBSD.org> References: <201310301352.r9UDqG1w094470@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201310301352.r9UDqG1w094470@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-head@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 30 Oct 2013 14:35:59 -0000 On Wed, Oct 30, 2013 at 01:52:16PM +0000, Cy Schubert wrote: > New Revision: 332109 > URL: http://svnweb.freebsd.org/changeset/ports/332109 > > Log: > Fix under 10-STABLE and 11-CURRENT. > > +.if ${OSVERSION} > 1000000 OSVERSION seems inaccurate, should probably be 1000054. > +USE_GCC= 4.6+ Gerald will bite you for this. :) > +.if ${OSVERSION} > 1000000 Ditto. > + cd ${WRKSRC}/xc && ${MAKE_ENV} make CC=${CC} CXX=${CXX} ${MAKE_ARGS} World > +.else > cd ${WRKSRC}/xc && make CC=${CC} CXX=${CXX} World > .endif > +.endif Ideally, the code should be fixed in a way that it would be built again with any compiler, and all hacks from Makefile removed. ./danfe