From owner-freebsd-ports@FreeBSD.ORG Tue Sep 25 19:31:33 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DA48106564A; Tue, 25 Sep 2012 19:31:33 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 541208FC08; Tue, 25 Sep 2012 19:31:33 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:2c64:e0f1:ab25:e270] (unknown [IPv6:2001:7b8:3a7:0:2c64:e0f1:ab25:e270]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id DC9CE5C59; Tue, 25 Sep 2012 21:31:31 +0200 (CEST) Message-ID: <50620690.8010507@andric.com> Date: Tue, 25 Sep 2012 21:31:28 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20120905 Thunderbird/16.0 MIME-Version: 1.0 To: John Hein References: <201209251438.q8PEcHtv022851@mech-cluster241.men.bris.ac.uk> <5061C930.20007@andric.com> <20577.59432.798647.91007@gromit.timing.com> In-Reply-To: <20577.59432.798647.91007@gromit.timing.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: zeising@daemonic.se, freebsd-x11@freebsd.org, mexas@bristol.ac.uk, freebsd-ports@freebsd.org Subject: Re: astro/xearth on redports with clang: /usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is not followed by a macro parameter X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 19:31:33 -0000 On 2012-09-25 19:21, John Hein wrote: > Dimitry Andric wrote at 17:09 +0200 on Sep 25, 2012: ... > > Imake is obsolete, X.org migrated to autoconf+gmake a long time > > ago, and new software should avoid it. That said, for old > > software, you could just add a dependency on one of the gcc ports, > > or maybe use another C preprocessor that supports -traditional > > mode. I understood ucpp might be able to do the job. > > You could also raise a discussion with the clang folks. > If it's really legitimate preprocessor syntax, clang/cpp > could be fixed perhaps. The problem is that Imake preprocessing depends on the -traditional option[1], which clang does not support, and it is very unlikely[2] that it will ever support it, unless there is huge demand, and somebody willing to implement and maintain it. -Dimitry [1] [2]