all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joseph Mingrone <jrm@FreeBSD.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: emacs-devel@gnu.org
Subject: Re: FreeBSD configure error related to liblockfile
Date: Tue, 20 Feb 2018 20:52:56 -0400	[thread overview]
Message-ID: <86y3jncgev.fsf@phe.ftfl.ca> (raw)
In-Reply-To: <86r2pgejik.fsf@phe.ftfl.ca> (Joseph Mingrone's message of "Mon,  19 Feb 2018 17:50:43 -0400")

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

Joseph Mingrone <jrm@ftfl.ca> writes:

> Paul Eggert <eggert@cs.ucla.edu> writes:

>> Joseph Mingrone wrote:
>>> 2. We could add a dependency on GNU mailutils.

>> That sounds like it's the easiest fix. These days GNU mailutils is recommended anyway, as Emacs's own movemail program retrieves POP3 email only via insecure channels.

> Sounds good, I will add that dependency.  However, it looks like I was mistaken.  Also depending on mailutils does not fix the issue with liblockfile installed and supplying the --without-x argument to
> configure.  Should both mailutils and liblockfile be added as dependencies?

> In any case, it still seems like there is a problem with the configure script.  Shouldn't it be finding the installed maillock.h and be able to link against the lockfile shared library?

> Thanks,

> Joseph

The liblockfile checks pass after adding LDFLAGS+=-L${LOCALBASE}/lib.
Based on bug #10313, this addition to LDFLAGS feels like the right
approach for the FreeBSD port/package.

The confusion about GNU Mailutils fixing the problem was due to the
differences between 25.3 and the master branch.  In the master branch,
the locking tests are wrapped in

if test ! "$with_mailutils"; then
...
fi

Given this, I assume functionality provided by liblockfile is duplicated
in mailutils.  I think a sensible approach for the port/package would be
to set ac_cv_prog_liblockfile=no and, as you suggest, (optionally)
depend on GNU Mailutils for users that require movemail and the other
functionality provided by Mailutils.

Thanks again,

Joseph

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

      reply	other threads:[~2018-02-21  0:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-17 15:49 FreeBSD configure error related to liblockfile Joseph Mingrone
2018-02-19 10:43 ` Robert Pluim
2018-02-19 16:19   ` Joseph Mingrone
2018-02-19 18:09 ` Paul Eggert
2018-02-19 21:50   ` Joseph Mingrone
2018-02-21  0:52     ` Joseph Mingrone [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=86y3jncgev.fsf@phe.ftfl.ca \
    --to=jrm@freebsd.org \
    --cc=eggert@cs.ucla.edu \
    --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.