[Bug 256893] editors/emacs-devel: Improve settings about NATIVECOMP option

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 29 Jun 2021 18:58:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256893

            Bug ID: 256893
           Summary: editors/emacs-devel: Improve settings about NATIVECOMP
                    option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: emacs@FreeBSD.org
          Reporter: yasu@utahime.org
             Flags: maintainer-feedback?(emacs@FreeBSD.org)
          Assignee: emacs@FreeBSD.org

Created attachment 226120
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226120&action=edit
Patch file

Improve settings about NATIVECOMP option by replacing the combination of
NATIVECOMP_LIB_DEPENDS, NATIVECOMP_CFLAGS and NATIVECOMP_LDFLAGS with
NATIVECOMP_USE.

Currently it only means lang/gcc11 is used instead of lang/gcc11-devel and
there isn't much difference. But when newer versions of GCC are released in the
future, it will bring following benefits.

* Multiple versions of GCC can be used to build this port with NATIVECOMP
option enabled.
* If default version of GCC is switched to 11 or later, or changed by adding
"DEFAULT_VERSIONS+=gcc=11", "DEFAULT_VERSIONS+=gcc=12", ... in make.conf, then
default one can be used for NATIVECOMP option. It means you need not build and
install non-default one to build this port with NATIVECOMP option enabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.