notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q3
emacs GNU editing macros
31.1_2,3 editors on this many watch lists=0 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 31.1_2,3Version of this port present on the latest quarterly branch.
Maintainer: emacs@FreeBSD.org search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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:
  • emacs>0:editors/emacs
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

Expand this list (2 items)

Collapse this list.

SHA256 (emacs31.1canna-20260824.diff.gz) = 87db60976b62f7c55f41d39ac801c500843f6866664ba5c0c11c12e31587b626 SIZE (emacs31.1canna-20260824.diff.gz) = 30370

Collapse this list.


Packages (timestamps in pop-ups are UTC):
emacs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest30.2_3,330.2_3,3n/an/an/an/an/an/a
FreeBSD:13:quarterly30.2_2,330.2_2,3n/an/an/an/an/an/a
FreeBSD:14:latest31.1_1,331.1_1,3-30.2,331.1_1,3---
FreeBSD:14:quarterly30.2_4,330.2_4,3-30.1_5,331.1_2,3-29.1_2,329.1_2,3
FreeBSD:15:latest31.1_1,331.1_1,3n/a30.2,3n/an/a29.2_1,3-
FreeBSD:15:quarterly30.2_4,330.2_4,3n/a-n/an/a--
FreeBSD:16:latest31.1_1,331.1_1,3n/a-n/an/a--
 

emacs-canna
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest30.2_3,330.2_3,3n/an/an/an/an/an/a
FreeBSD:13:quarterly30.2_2,330.2_2,3n/an/an/an/an/an/a
FreeBSD:14:latest31.1_1,331.1_1,3-30.2,331.1_1,3---
FreeBSD:14:quarterly30.2_4,330.2_4,3-30.1_5,331.1_2,3-29.1_2,329.1_2,3
FreeBSD:15:latest31.1_1,331.1_1,3n/a30.2,3n/an/a29.2_1,3-
FreeBSD:15:quarterly30.2_4,330.2_4,3n/a-n/an/a--
FreeBSD:16:latest31.1_1,331.1_1,3n/a-n/an/a--
 

emacs-nox
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest30.2_3,330.2_3,3n/an/an/an/an/an/a
FreeBSD:13:quarterly30.2_2,330.2_2,3n/an/an/an/an/an/a
FreeBSD:14:latest31.1_1,331.1_1,328.2_1,330.2,331.1_1,328.2_6,3-28.2_6,3
FreeBSD:14:quarterly30.2_4,330.2_4,3-30.1_5,331.1_2,329.1_2,329.1_2,329.1_2,3
FreeBSD:15:latest31.1_1,331.1_1,3n/a30.2,3n/an/a29.2_1,329.2_1,3
FreeBSD:15:quarterly30.2_4,330.2_4,3n/a-n/an/a--
FreeBSD:16:latest31.1_1,331.1_1,3n/a-n/an/a--
 

emacs-wayland
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest30.2_3,330.2_3,3n/an/an/an/an/an/a
FreeBSD:13:quarterly30.2_2,330.2_2,3n/an/an/an/an/an/a
FreeBSD:14:latest31.1_1,331.1_1,3-30.2,331.1_1,3---
FreeBSD:14:quarterly30.2_4,330.2_4,3-30.1_5,331.1_2,3---
FreeBSD:15:latest31.1_1,331.1_1,3n/a30.2,3n/an/a--
FreeBSD:15:quarterly30.2_4,330.2_4,3n/a-n/an/a--
FreeBSD:16:latest31.1_1,331.1_1,3n/a-n/an/a--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. update-desktop-database : devel/desktop-file-utils
  4. gcc13 : lang/gcc13
  5. as : devel/binutils
  6. xpm.pc : x11/libXpm
  7. ice.pc : x11/libICE
  8. sm.pc : x11/libSM
  9. x11.pc : x11/libX11
  10. xcb.pc : x11/libxcb
  11. xcomposite.pc : x11/libXcomposite
  12. xext.pc : x11/libXext
  13. xfixes.pc : x11/libXfixes
  14. xi.pc : x11/libXi
  15. xinerama.pc : x11/libXinerama
  16. xmu.pc : x11-toolkits/libXmu
  17. xrandr.pc : x11/libXrandr
  18. xrender.pc : x11/libXrender
  19. xt.pc : x11-toolkits/libXt
Runtime dependencies:
  1. mailutils : mail/mailutils
  2. update-desktop-database : devel/desktop-file-utils
  3. gcc13 : lang/gcc13
  4. xpm.pc : x11/libXpm
  5. ice.pc : x11/libICE
  6. sm.pc : x11/libSM
  7. x11.pc : x11/libX11
  8. xcb.pc : x11/libxcb
  9. xcomposite.pc : x11/libXcomposite
  10. xext.pc : x11/libXext
  11. xfixes.pc : x11/libXfixes
  12. xi.pc : x11/libXi
  13. xinerama.pc : x11/libXinerama
  14. xmu.pc : x11-toolkits/libXmu
  15. xrandr.pc : x11/libXrandr
  16. xrender.pc : x11/libXrender
  17. xt.pc : x11-toolkits/libXt
  18. indexinfo : print/indexinfo
Library dependencies:
  1. libgmp.so : math/gmp
  2. libfontconfig.so : x11-fonts/fontconfig
  3. libfreetype.so : print/freetype2
  4. libdbus-1.so : devel/dbus
  5. libgif.so : graphics/giflib
  6. libgnutls.so : security/gnutls
  7. libfontconfig.so : x11-fonts/fontconfig
  8. libfreetype.so : print/freetype2
  9. libharfbuzz.so : print/harfbuzz
  10. liblcms2.so : graphics/lcms2
  11. libpng16.so : graphics/png
  12. libtiff.so : graphics/tiff
  13. libtree-sitter.so : devel/tree-sitter
  14. libwebpdemux.so : graphics/webp
  15. libjpeg.so : graphics/jpeg-turbo
  16. libsqlite3.so : databases/sqlite3
  17. libatk-1.0.so : accessibility/at-spi2-core
  18. libcairo.so : graphics/cairo
  19. libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
  20. libglib-2.0.so : devel/glib20
  21. libintl.so : devel/gettext-runtime
  22. libgtk-3.so : x11-toolkits/gtk30
  23. librsvg-2.so : graphics/librsvg2-rust
  24. libxml2.so : textproc/libxml2
  25. libharfbuzz.so : print/harfbuzz
  26. 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:
Expand this list (10 items)
Collapse this list.
  1. ftp://ftp.fu-berlin.de/unix/gnu/emacs/
  2. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/emacs/
  3. ftp://mirrors.rit.edu/gnu/emacs/
  4. http://ftp.halifax.rwth-aachen.de/gnu/emacs/
  5. http://mirror.navercorp.com/gnu/emacs/
  6. https://ftp.gnu.org/gnu/emacs/
  7. https://ftpmirror.gnu.org/emacs/
  8. https://mirror.netcologne.de/gnu/emacs/
  9. https://mirrors.kernel.org/gnu/emacs/
  10. https://www.nic.funet.fi/pub/gnu/gnu/emacs/
Collapse this list.

Number of commits found: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
31.1_2,3
16 Sep 2026 18:10:04
commit hash: 58c3ab4db9d29f7ff964d195f1e6f30ab1be021ccommit hash: 58c3ab4db9d29f7ff964d195f1e6f30ab1be021ccommit hash: 58c3ab4db9d29f7ff964d195f1e6f30ab1be021ccommit hash: 58c3ab4db9d29f7ff964d195f1e6f30ab1be021c files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
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
commit hash: 178eb0e1311adfaf4e1402da4911baa9a4ed3475commit hash: 178eb0e1311adfaf4e1402da4911baa9a4ed3475commit hash: 178eb0e1311adfaf4e1402da4911baa9a4ed3475commit hash: 178eb0e1311adfaf4e1402da4911baa9a4ed3475 files touched by this commit This port version is marked as vulnerable.
Ashish SHUKLA (ashish) search for other commits by this committer
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
commit hash: 08fca81af1eac42587bb5a54d52f03fb936d5b9fcommit hash: 08fca81af1eac42587bb5a54d52f03fb936d5b9fcommit hash: 08fca81af1eac42587bb5a54d52f03fb936d5b9fcommit hash: 08fca81af1eac42587bb5a54d52f03fb936d5b9f files touched by this commit This port version is marked as vulnerable.
Ashish SHUKLA (ashish) search for other commits by this committer
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
commit hash: 756bcc2cf8c78885a3e59a0ddeb071f723e16f5ccommit hash: 756bcc2cf8c78885a3e59a0ddeb071f723e16f5ccommit hash: 756bcc2cf8c78885a3e59a0ddeb071f723e16f5ccommit hash: 756bcc2cf8c78885a3e59a0ddeb071f723e16f5c files touched by this commit This port version is marked as vulnerable.
Ashish SHUKLA (ashish) search for other commits by this committer
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
commit hash: 4a5f494344b3e22fbf79299349c06f06fb4e1766commit hash: 4a5f494344b3e22fbf79299349c06f06fb4e1766commit hash: 4a5f494344b3e22fbf79299349c06f06fb4e1766commit hash: 4a5f494344b3e22fbf79299349c06f06fb4e1766 files touched by this commit This port version is marked as vulnerable.
Ashish SHUKLA (ashish) search for other commits by this committer
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)

Number of commits found: 5