From: Philipp Stephani <p.stephani2@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Autodetect imagemagick on macOS + Homebrew
Date: Sun, 28 Jan 2018 18:35:41 +0000 [thread overview]
Message-ID: <CAArVCkRRTeffc9L7L-kt6jxfnYk62AeNkY2g4zsNdO0mmnQcCA@mail.gmail.com> (raw)
In-Reply-To: <20180110213750.GA16679@breton.holly.idiocy.org>
[-- Attachment #1: Type: text/plain, Size: 680 bytes --]
Alan Third <alan@idiocy.org> schrieb am Mi., 10. Jan. 2018 um 22:38 Uhr:
> When imagemagick 6 is installed on macOS using Homebrew it can be a
> bit of a faff to get Emacs built with it. The attached patch
> automatically adds it to PKG_CONFIG_PATH if Homebrew is detected.
>
>
I'm wondering whether these concatenations work if the packages aren't
installed. `brew --prefix texinfo 2>/dev/null`/bin results in /bin if
texinfo isn't installed, but this might be a bit too implicit and brittle -
how certain are we that brew will print the empty string here forever?
Maybe it would be better to check the return value of brew and append the
path segments only if it has suceeded.
[-- Attachment #2: Type: text/html, Size: 987 bytes --]
next prev parent reply other threads:[~2018-01-28 18:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-10 21:37 Autodetect imagemagick on macOS + Homebrew Alan Third
2018-01-15 19:42 ` Charles A. Roelli
2018-01-15 23:09 ` Alan Third
2018-01-28 18:35 ` Philipp Stephani [this message]
2018-01-28 23:50 ` Alan Third
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAArVCkRRTeffc9L7L-kt6jxfnYk62AeNkY2g4zsNdO0mmnQcCA@mail.gmail.com \
--to=p.stephani2@gmail.com \
--cc=alan@idiocy.org \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.