[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 5dd2d50: Fix NS native compilation builds
From: |
Eli Zaretskii |
Subject: |
Re: master 5dd2d50: Fix NS native compilation builds |
Date: |
Sat, 26 Jun 2021 14:25:43 +0300 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sat, 26 Jun 2021 13:15:38 +0200
> Cc: Alan Third <alan@idiocy.org>
>
> alan@idiocy.org (Alan Third) writes:
>
> > +# A NextStep style app bundle is relocatable, so instead of
> > +# hard-coding paths try to generate them at run-time.
> > +#
> > +# The paths are mostly the same, and the bundle paths are different
> > +# between macOS and GNUstep, so just replace any references to the app
> > +# bundle root itself with the relative path.
> > +epaths-force-ns-self-contained: epaths-force
> > + @(sed < ${srcdir}/src/epaths.h > epaths.h.$$$$ \
> > + -e 's;${ns_appdir}/;;') && \
> > + ${srcdir}/build-aux/move-if-change epaths.h.$$$$ src/epaths.h
>
> This (or something else in this patch) leads to the src/epaths.h file
> being invalid. It starts like this:
>
> * Hey Emacs, this is -*- C -*- code! */
> *
> Copyright (C) 1993, 1995, 1997, 1999, 2001-2021 Free Software
> Foundation, Inc.
>
> This file is part of GNU Emacs.
>
>
> Note the * instead of /* as the comment starter.
I think this is because EN_NS_SELF_CONTAINED ends up being "yes" on
systems where it shouldn't.