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

Chris Rees utisoft at gmail.com
Tue Sep 25 17:29:15 UTC 2012


On 25 Sep 2012 18:23, "John Hein" <jhein at symmetricom.com> wrote:
>
> 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.

Imake *really* hates clang.  Although it can build with it, the resulting
imake is broken.

Fixing imake properly is the thing to do here.  I'm happy to help anyone
mad enough to try.

Chris


More information about the freebsd-ports mailing list