FreeBSD Bugzilla – Attachment 227396 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]
Patch file
editors_emacs-devel.nativecomp.patch (text/plain), 1.50 KB, created by
Yasuhiro Kimura
on 2021-08-24 03:53:57 UTC
(
hide
)
Description:
Patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2021-08-24 03:53:57 UTC
Size:
1.50 KB
patch
obsolete
>From 9fa7e5e095953db45bb31e547f0c9abcb947bf40 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 | 11 +++++++++++ > 1 file changed, 11 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..9f150b5ab32b >--- /dev/null >+++ b/editors/emacs-devel/files/patch-configure.ac >@@ -0,0 +1,11 @@ >+--- configure.ac.orig 2021-08-15 01:22:26 UTC >++++ configure.ac >+@@ -1335,7 +1335,7 @@ if test -n "$BREW"; then >+ fi >+ >+ # Check MacPorts on macOS. >+-AC_PATH_PROG(HAVE_MACPORTS, port) >++#AC_PATH_PROG(HAVE_MACPORTS, port) >+ >+ ## 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