FreeBSD Bugzilla – Attachment 227397 Details for
Bug 258001
editors/emacs-devel: Build fails at configure phase with non-clean environment and NATIVECOMP option enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch file
editors_emacs-devel.nativecomp.patch (text/plain), 1.55 KB, created by
Yasuhiro Kimura
on 2021-08-24 07:57:52 UTC
(
hide
)
Description:
Updated patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2021-08-24 07:57:52 UTC
Size:
1.55 KB
patch
obsolete
>From b2113b8a9dd4793ce41a6e9f79142d523647a0a4 Mon Sep 17 00:00:00 2001 >From: Yasuhiro Kimura <yasu@utahime.org> >Date: Tue, 24 Aug 2021 12:32:20 +0900 >Subject: [PATCH] editors/emacs-devel: Fix build when NATIVECOMP option is on > and ports-mgmt/porttools is installed > >Fix build when NATIVECOMP option is on and ports-mgmt/porttools is >installed in build environment. > >ports-mgmt/porttools installs shell script named `port`. But configure >script of emacs regards it as utility used to interact with >MacPorts[1]. And it sets up CFLAGS, header directories, library >directory, etc. assuming that environment is MacOS and GCC is >installed by using MacPorts. As a result configure fails to detect >libgccjit. This commit fixes it by patching configure.ac. > >[1] https://guide.macports.org/#using.port >--- > editors/emacs-devel/files/patch-configure.ac | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100644 editors/emacs-devel/files/patch-configure.ac > >diff --git a/editors/emacs-devel/files/patch-configure.ac b/editors/emacs-devel/files/patch-configure.ac >new file mode 100644 >index 000000000000..7e71355cfa07 >--- /dev/null >+++ b/editors/emacs-devel/files/patch-configure.ac >@@ -0,0 +1,13 @@ >+--- configure.ac.orig 2021-08-15 01:22:26 UTC >++++ configure.ac >+@@ -1335,7 +1335,9 @@ if test -n "$BREW"; then >+ fi >+ >+ # Check MacPorts on macOS. >+-AC_PATH_PROG(HAVE_MACPORTS, port) >++if test $opsys = darwin; then >++ AC_PATH_PROG(HAVE_MACPORTS, port) >++fi >+ >+ ## Require makeinfo >= 4.13 (last of the 4.x series) to build the manuals. >+ : ${MAKEINFO:=makeinfo} >-- >2.33.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 258001
:
227396
| 227397