astro/xearth on redports with clang: /usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is not followed by a macro parameter

John Hein jhein at symmetricom.com
Tue Sep 25 17:23:19 UTC 2012


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.


More information about the freebsd-x11 mailing list