| Port details on branch 2026Q3 |
- emacs GNU editing macros
- 31.1_2,3 editors
=0 31.1_2,3Version of this port present on the latest quarterly branch. - Maintainer: emacs@FreeBSD.org
 - Port Added: 2026-09-16 18:12:07
- Last Update: 2026-09-16 18:10:04
- Commit Hash: 58c3ab4
- License: GPLv3+
- WWW:
- https://www.gnu.org/software/emacs/
- Description:
- GNU Emacs is an extensible, customizable, free/libre text editor. At its
core is an interpreter for Emacs Lisp, a dialect of the Lisp programming
language with extensions to support text editing.
The features of GNU Emacs include:
- content-aware editing modes, including syntax coloring, for many file
types
- complete built-in documentation, including a tutorial for new users
- full Unicode support for nearly all human scripts
- powerful customizability, using Emacs Lisp code or a graphical
interface
- a vast ecosystem of functionality beyond text editing, including a
project planner, mail and news reader, debugger interface, calendar,
even a psychotherapist, and more
- a packaging system for downloading and installing extensions.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- emacs-devel
- emacs-devel-nox
- emacs-canna
- emacs-nox
- emacs-wayland
- To install the port:
- cd /usr/ports/editors/emacs/ && make install clean
- To add the package, run one of these commands:
- pkg install editors/emacs
- pkg install emacs
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: emacs
- Package flavors (<flavor>: <package>)
- full: emacs
- canna: emacs-canna
- nox: emacs-nox
- wayland: emacs-wayland
- distinfo:
- TIMESTAMP = 1787624629
SHA256 (emacs-31.1.tar.xz) = 1da5790d9580c81932b5bf700633114468da7b3412d69faa767daebf974f4586
SIZE (emacs-31.1.tar.xz) = 57977476
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- update-desktop-database : devel/desktop-file-utils
- gcc13 : lang/gcc13
- as : devel/binutils
- xpm.pc : x11/libXpm
- ice.pc : x11/libICE
- sm.pc : x11/libSM
- x11.pc : x11/libX11
- xcb.pc : x11/libxcb
- xcomposite.pc : x11/libXcomposite
- xext.pc : x11/libXext
- xfixes.pc : x11/libXfixes
- xi.pc : x11/libXi
- xinerama.pc : x11/libXinerama
- xmu.pc : x11-toolkits/libXmu
- xrandr.pc : x11/libXrandr
- xrender.pc : x11/libXrender
- xt.pc : x11-toolkits/libXt
- Runtime dependencies:
-
- mailutils : mail/mailutils
- update-desktop-database : devel/desktop-file-utils
- gcc13 : lang/gcc13
- xpm.pc : x11/libXpm
- ice.pc : x11/libICE
- sm.pc : x11/libSM
- x11.pc : x11/libX11
- xcb.pc : x11/libxcb
- xcomposite.pc : x11/libXcomposite
- xext.pc : x11/libXext
- xfixes.pc : x11/libXfixes
- xi.pc : x11/libXi
- xinerama.pc : x11/libXinerama
- xmu.pc : x11-toolkits/libXmu
- xrandr.pc : x11/libXrandr
- xrender.pc : x11/libXrender
- xt.pc : x11-toolkits/libXt
- indexinfo : print/indexinfo
- Library dependencies:
-
- libgmp.so : math/gmp
- libfontconfig.so : x11-fonts/fontconfig
- libfreetype.so : print/freetype2
- libdbus-1.so : devel/dbus
- libgif.so : graphics/giflib
- libgnutls.so : security/gnutls
- libfontconfig.so : x11-fonts/fontconfig
- libfreetype.so : print/freetype2
- libharfbuzz.so : print/harfbuzz
- liblcms2.so : graphics/lcms2
- libpng16.so : graphics/png
- libtiff.so : graphics/tiff
- libtree-sitter.so : devel/tree-sitter
- libwebpdemux.so : graphics/webp
- libjpeg.so : graphics/jpeg-turbo
- libsqlite3.so : databases/sqlite3
- libatk-1.0.so : accessibility/at-spi2-core
- libcairo.so : graphics/cairo
- libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
- libglib-2.0.so : devel/glib20
- libintl.so : devel/gettext-runtime
- libgtk-3.so : x11-toolkits/gtk30
- librsvg-2.so : graphics/librsvg2-rust
- libxml2.so : textproc/libxml2
- libharfbuzz.so : print/harfbuzz
- libpango-1.0.so : x11-toolkits/pango
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for emacs-31.1_2,3:
ACL=on: Access control list support
DBUS=on: D-Bus IPC system support
GNUTLS=on: SSL/TLS support via GnuTLS
GSETTINGS=on: GSettings API for application settings
HARFBUZZ=on: HarfBuzz for text shaping
LCMS2=on: Little CMS 2.x support
M17N=off: M17N support for text-shaping [implies XFT]
MAILUTILS=on: Mail framework via GNU Mailutils
MODULES=on: Dynamic modules support
NATIVECOMP=on: Emacs Lisp native compiler support
OTF=off: Opentype fonts
PGTK=off: Pure GTK GUI [implies CAIRO, GTK3]
SCROLLBARS=on: Toolkit scroll-bars
SOURCES=on: Install sources
SQLITE3=on: SQLite 3 database support
THREADS=on: Threading support
TREESITTER=on: tree-sitter support
XFT=off: Xft font library support
XIM=on: X Input Method
XML=on: XML format or parser support
XWIDGETS=off: Experimental GTK widgets [implies GTK3]
====> Graphics support
CAIRO=on: Cairo graphics library support [implies PNG, prevents XFT]
GIF=on: GIF image format support
JPEG=on: JPEG image format support
MAGICK=off: ImageMagick image processing support (deprecated)
PNG=on: PNG image format support
SVG=on: Scalable vector graphics support [implies PNG]
TIFF=on: TIFF image format support
WEBP=on: WebP image format support
XPM=on: XPM pixmap image format support
====> File notification support: you can only select none or one of them
GFILE=off: File notification via gfile
KQUEUE=on: File notification via kqueue
====> Sound (audio) support: you can only select none or one of them
ALSA=off: ALSA audio architecture support
OSS=on: Open Sound System support
====> X11 toolkit: you can only select none or one of them
GTK2=off: GTK 2 GUI toolkit support
GTK3=on: GTK 3 GUI toolkit support
MOTIF=off: Motif widget library support
XAW=off: Athena widgets
XAW3D=off: Athena3D widgets
===> Use 'make config' to modify these settings
- Options name:
- editors_emacs
- USES:
- cpe gmake localbase:ldflags ncurses pkgconfig tar:xz jpeg sqlite:3 gnome desktop-file-utils gnome xorg
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
31.1_2,3 16 Sep 2026 18:10:04
    |
Ashish SHUKLA (ashish)  Author: Fabian Keil |
editors/emacs: Apply a security fix from upstream
Previous fix for CVE-2024-53920 was incomplete[0].
[0] https://www.openwall.com/lists/oss-security/2026/09/14/1
PR: 298557
MFH: 2026Q3
Security: 7ba6c085-1590-491a-98ce-5452646b196f
Security: CVE-2024-53920
(cherry picked from commit 93d11220ce575a5ab5fff7f1dc1e587631bf1ac9) |
31.1_1,3 16 Sep 2026 18:10:03
    |
Ashish SHUKLA (ashish)  Author: Joseph Mingrone |
editors/emacs: Fix native compilation with canna flavor
isearch-ext.el is a file that comes with the canna patch. Because it is
preloaded, it was native-compiled during the bootstrap stage. This
caused the native-lisp directory to be created, which in turn meant AOT
for all other elisp was silently skipped.
Fix this by adding isearch-ext to native-comp-bootstrap-deny-list, so it
is native-compiled later along with the rest of the elisp.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit f9566b80622d676208b0f0c5b4ed6f286ce37b10) |
31.1,3 16 Sep 2026 18:10:02
    |
Ashish SHUKLA (ashish)  Author: Joseph Mingrone |
editors/emacs: Update to new major release, 31.1
Announcement: https://lists.gnu.org/archive/html/info-gnu-emacs/2026-08/msg00004.html
Sponsored by: The FreeBSD Foundation
(cherry picked from commit f33b08e8fc362a7d256d6a50238811ad8a7f925a) |
31.0.91,3 16 Sep 2026 18:10:01
    |
Ashish SHUKLA (ashish)  Author: Joseph Mingrone |
Emacs ports: Align Makefiles
Lightly reorganize the options sections of editors/emacs and
editors/emacs-devel, so the two can be more easily compared. This is a
no-op change.
Reviewed by: ashish
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58719
(cherry picked from commit edac99244ec45578b29725ee14c1e3ee70fe8b4a) |
31.0.91,3 16 Sep 2026 18:10:00
    |
Ashish SHUKLA (ashish)  Author: Joseph Mingrone |
editors/emacs: Update to 31.0.91 (second pretest for 31.1)
Announcement: https://lists.gnu.org/archive/html/emacs-devel/2026-07/msg00270.html
Reviewed by: ashish
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58570
(cherry picked from commit 0113e8aa6651c69850518e172172f0632384f5fb) |