From: Alan Third <alan@idiocy.org>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Autodetect imagemagick on macOS + Homebrew
Date: Sun, 28 Jan 2018 23:50:09 +0000 [thread overview]
Message-ID: <20180128235009.GA95698@breton.holly.idiocy.org> (raw)
In-Reply-To: <CAArVCkRRTeffc9L7L-kt6jxfnYk62AeNkY2g4zsNdO0mmnQcCA@mail.gmail.com>
On Sun, Jan 28, 2018 at 06:35:41PM +0000, Philipp Stephani wrote:
> 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,
It doesn’t, actually. I’ve never installed tomcat on this laptop:
breton:/Users/alan>brew --prefix tomcat
/usr/local/Cellar/tomcat/8.5.27
Although it does return blank if the package doesn’t exist at all. (It
sends an error message to stderr.)
> Maybe it would be better to check the return value of brew and
> append the path segments only if it has suceeded.
Yes, it might be a good idea.
--
Alan Third
prev parent reply other threads:[~2018-01-28 23:50 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
2018-01-28 23:50 ` Alan Third [this message]
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=20180128235009.GA95698@breton.holly.idiocy.org \
--to=alan@idiocy.org \
--cc=emacs-devel@gnu.org \
--cc=p.stephani2@gmail.com \
/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.