GNU bug report logs - #50649
[patch] configure: fix libgccjit detection on MacPorts

Previous Next

Package: emacs;

Reported by: Dan Ports <dan <at> drkp.net>

Date: Sat, 18 Sep 2021 01:05:02 UTC

Severity: normal

Tags: patch

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50649 in the body.
You can then email your comments to 50649 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#50649; Package emacs. (Sat, 18 Sep 2021 01:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dan Ports <dan <at> drkp.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 18 Sep 2021 01:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dan Ports <dan <at> drkp.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [patch] configure: fix libgccjit detection on MacPorts
Date: Fri, 17 Sep 2021 16:19:21 -0700
[Message part 1 (text/plain, inline)]
Tags: patch

The current code in configure checks if a MacPorts gcc port is
installed in order to find libgccjit, but it fails if more than one gcc
port is installed (e.g., both gcc10 and gcc11). 

The attached patch fixes it to return only one version -- specifically,
the latest version (with a bit of ugliness because gcc4x sorts after
gcc11)

Dan

-- 
Dan R. K. Ports                                      https://drkp.net/
[patch-libgccjit-macports.diff (text/x-diff, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50649; Package emacs. (Sat, 18 Sep 2021 14:06:02 GMT) Full text and rfc822 format available.

Message #8 received at 50649 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Dan Ports <dan <at> drkp.net>
Cc: 50649 <at> debbugs.gnu.org
Subject: Re: bug#50649: [patch] configure: fix libgccjit detection on MacPorts
Date: Sat, 18 Sep 2021 16:04:54 +0200
Dan Ports <dan <at> drkp.net> writes:

> The current code in configure checks if a MacPorts gcc port is
> installed in order to find libgccjit, but it fails if more than one gcc
> port is installed (e.g., both gcc10 and gcc11). 
>
> The attached patch fixes it to return only one version -- specifically,
> the latest version (with a bit of ugliness because gcc4x sorts after
> gcc11)

Thanks; installed in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 28.1, send any further explanations to 50649 <at> debbugs.gnu.org and Dan Ports <dan <at> drkp.net> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 18 Sep 2021 14:06:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 17 Oct 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.