From owner-freebsd-ports@FreeBSD.ORG Tue Sep 25 17:23:19 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DF4710656E1; Tue, 25 Sep 2012 17:23:19 +0000 (UTC) (envelope-from jhein@symmetricom.com) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 7792A8FC0C; Tue, 25 Sep 2012 17:23:13 +0000 (UTC) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q8PHMUc7022510; Tue, 25 Sep 2012 11:22:30 -0600 (MDT) (envelope-from jhein@symmetricom.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.5/8.14.5) with ESMTP id q8PHLug8061949; Tue, 25 Sep 2012 11:21:56 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.5/8.14.5/Submit) id q8PHLiDi061948; Tue, 25 Sep 2012 11:21:44 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20577.59432.798647.91007@gromit.timing.com> Date: Tue, 25 Sep 2012 11:21:44 -0600 From: John Hein To: Dimitry Andric In-Reply-To: <5061C930.20007@andric.com> References: <201209251438.q8PEcHtv022851@mech-cluster241.men.bris.ac.uk> <5061C930.20007@andric.com> X-Mailer: VM 8.2.0b-trunk-1408 under 23.4.1 (i386-portbld-freebsd7.4) 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 17:23:19 -0000 Dimitry Andric wrote at 17:09 +0200 on Sep 25, 2012: > On 2012-09-25 16:38, Anton Shterenlikht wrote: > ... > > $ grep -c imake /usr/ports/INDEX-10 > > 291 > > That's a relatively low number, indeed. :) > > > > This issue must cause problems for > > quite a few other ports. > > So is it an agreed policy to migrate away from > > imake in time for 10-release? > > 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.