unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kaloyan Ivanov <klnvnv@gmail.com>
To: emacs-devel@gnu.org
Subject: Build is broken on macOS
Date: Thu, 5 Jan 2017 12:16:43 +0200	[thread overview]
Message-ID: <7994F8F9-FB70-42A0-B17A-FB2957A65FC6@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1228 bytes --]

Commit d88cdad2847726438c7d1de9fd2651c4be9243aa doesn’t build on macOS

The sed on El Capitan balks at the script constructed in autopen.sh.
This patch fixes that on macOS, can someone please test it on other platforms - don’t know if it works there as it should.
“
diff --git a/autogen.sh b/autogen.sh
index f6bfde6..e6d7ef4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -224,7 +224,8 @@ do_git=
   ## Create nt/gnulib.mk if it doesn't exist, as autoreconf will need it.
   if test ! -f nt/gnulib.mk; then
       echo 'Inferring nt/gnulib.mk from lib/gnulib.mk ...'
-      metascript='/^[^#]/s|^.*$|/^## begin  *gnulib module &/,/^## end  *gnulib module &/c ## gnulib module & removed|'
+      metascript='/^[^#]/s|^.*$|/^## begin  *gnulib module &/,/^## end  *gnulib module &/c\
+ ## gnulib module & removed|'
       script=`sed "$metascript" nt/gnulib-modules-to-delete.cfg` || exit
       sed "$script" lib/gnulib.mk > nt/gnulib.mk || exit
   fi
“

to ./configure it quicker, you need to add --without-makeinfo (default makeinfo is 4.8, >4.13 is required) and --with-gnutls=no if you don’t have gnutls installed

See also:
https://lists.gnu.org/archive/html/emacs-devel/2017-01/msg00048.html 

[-- Attachment #2: Type: text/html, Size: 7223 bytes --]

             reply	other threads:[~2017-01-05 10:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-05 10:16 Kaloyan Ivanov [this message]
2017-01-05 16:14 ` Build is broken on macOS Eli Zaretskii
2017-01-06 18:47   ` Kaloyan Ivanov
2017-01-07  7:54     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7994F8F9-FB70-42A0-B17A-FB2957A65FC6@gmail.com \
    --to=klnvnv@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).