As of 9f25d46568b in upstream's master branch, Emacs emits a run-time
warning when lexical binding is unset. This serves as a reminder that
lexical binding is preferred.
Reviewed by: yasu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49991
Follow up b4eb3cc with another pkg-message.in tweak to also let users
who are upgrading know that native compilation requires GCC version 11
or newer. This shouldn't be an issue for the vast majority of users,
since the default GCC version is now newer than 11.
Sponsored by: The FreeBSD Foundation
Support for the USE_GCC=X+ form was removed in 9b5f5ab. Native
compilation requires GCC version 11 or newer and the default version of
GCC is now 12.
Sponsored by: The FreeBSD Foundation
* Enable NATIVECOMP option by default [1]
* If Emacs is build with NATIVECOMP enabled, display message as
following at installation and upgrading time [2]
- There are some elisp applications that don't work collectly if it
is native compiled
- If user uses such applications there is workaround to disable
nativecompilation by user configuration [3]
- Native compilation often results in high CPU
- It is also possible to throttle it by user configuration
* Tidy up Makefile with portfmt
Discussed with: ashish, jrm [1],[2]
Reference: https://lists.gnu.org/archive/html/help-gnu-emacs/2022-04/msg00129.html [3]
Reviewed by: ashish, jrm
Differential Revision: https://reviews.freebsd.org/D34935
..remove a local patch that fixed a build issue on systems using version 10
of clang. This version of clang enforces stricter requirements for the
placement of FALLTHROUGH labels. Upstream committed a change that fixes
the build and silences the FALLTHROUGH warning.
e021c2dc22
- Add a patch to unbreak building on -HEAD[1], and -STABLE[2]
platforms which ship clang/LLVM 10
PR: 246525[2]
Reported by: pkg-fallout[1], Robert Cina[2]
Recent changes in upstream's master branch mean a newer makeinfo than is
available in the 10.4 base system is required, so add print/texinfo to
BUILD_DEPENDS.
While here, also update to the tip of upstream's master branch and silence
portlint warnings about USE_GNOME without USES=gnome.
Reported by: pkg-fallout, antoine
- [1] Do not link liblockfile when MAILUTILS option is off. Users who want
mail functionality should turn on the MAILUTILS option. See PR 227799.
- [2] Create a link under exec_directory pointing to
${PREFIX}/bin/movemail. See upstream bug https://bugs.gnu.org/31737 and
PR 228833.
- Based on user feedback, change the package name for the nox flavor of
editors/emacs-devel from emacs-devel_nox to emacs-devel-nox. The
original motivation for naming the package emacs-devel_nox was so that
PKGNAMESUFFIX would match the flavor names for USES=emacs ports and
flavor names cannot contain '-'.
- Remove patches that are no longer necessary. The patch
emacs-devel/files/patch-configure.ac is no longer necessary because 10.3,
which included an old version of texinfo in base, is EOL. The lldb-gud
patch is no longer necessary because the LLDB option has been removed.
- Update editors/emacs-devel to a newer commit on the upstream master
branch.
- Customize COMMENT for nox flavor of editors/emacs-devel.
PR: 227799 [1], 228833 [2]
Submitted by: yasu@utahime.org [1], bengta@sics.se [2]
Approved by: ashish
Differential Revision: https://reviews.freebsd.org/D15728
- Add a patch to workaround a configure issue reported upstream
at http://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00020.html
- Update BROKEN message on AARCH64, as now it does not break on sbrk[1]
PR: 221961[1]
Reported by: Gergely Czuczy <gergely.czuczy@harmless.hu>
- Switch to using the supplied autoconf.sh, because it is required on 10.3 to
create nt/gnulib.mk.
- Patch to accept makeinfo versions as far back as 4.8, which is the version in
10.3 base.
Approved by: ashish (maintainer) swills (mentor)
Differential Revision: https://reviews.freebsd.org/D9287
- Switch to GitHub for MASTER_SITES
- Remove USE_AUTOTOOLS, and move it to USES instead
- Cosmetic changes to Makefile, and pkg-plist
- Remove pkg-install/pkg-deinstall scripts, not needed anymore
PR: 204842
Submitted by: Joseph Mingrone <jrm at ftfl.ca>
Patches must not be changed by the vcs, this includes the
svn:keyword expansion. Set fbsd:nokeywords to a couple of patches.
With hat: portmgr
Sponsored by: Absolight
- Add an OPTION to enable support for LLDB debugger to GUD[1], provided
by third-party diff
- Add CPE information[2]
PR: 198022[1], 198239[2]
Submitted by: pfg[1], shun <shun.fbsd.pr at dropcut.net>[2]
- Fix building port when ALSA option is enabled[2]
- Depend on desktop-file-utils when X11 option is enabled[3]
- Bump PORTREVISION to account for these changes
PR: 194624[1], 194862[2]
Submitted by: crest <crest at sahiro.org>[2]
Reported by: Joseph Mingrone <jrm at ftfl.ca>[1],
Richard Kuhns <rjk at wintek.com>[3] (via private email)
- Bump PORTREVISION on all ports that depend on security/gnutls and
adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
developers)
PR: 191274
Exp-run by: antoine
Approved by: portmgr (antoine)
- Add OPTIONs for building with GnuTLS 3.x[1] (default), and GnuTLS 2.x
support
- Remove OPTION for SYNC_INPUT (not supported)
- Add a fix when building with ncurses port being installed
- Fix CONFLICTS to pass portlint checks
PR: ports/187346[1]
- Add PKGNAMESUFFIX to avoid package name collision
- Add STAGE support
- Relocate INFO_PATH to avoid conflicting with similarly named
info files provided by other packages, like print/texinfo
- Use INSTALLS_ICONS only when X11 is enabled
- Add OPTIONs for X11 support, SOUND (ALSA/OSS) support and filesystem
notifications
- Depend on GCC for i386 platforms until clang gets the required
fixes
- Stop compressing info files for it to work with INFO_PATH
- Use OptionsNG helpers to cleanup Makefile
- Remove already upstream-ed patches
editors/emacs:
- Update to 24.3
- Update CANNA patchset[1]
- Unbreak ARM support by using the patch from emacs-devel port
- Add missing INSTALLS_ICONS[2]
- Remove a patch which is already integrated upstream
- Fix Makefile header
editors/emacs-devel:
- Update to bzr revision 112178
- Fix Makefile header
- Add missing INSTALLS_ICONS[2]
editors/emacs23:
- Remove ABI versions from LIB_DEPENDS
- Fix Makefile header
- Add missing INSTALLS_ICONS[2]
Mk/bsd.emacs.mk:
- Update major version for editors/emacs port
*:
- Bump PORTREVISION to chase Emacs updates
PR: ports/177428[2]
Submitted by: Yuji TAKANO[1] (via private email), bdrewery[2]
- Update to bzr snapshot 111312
- Add OPTION for LTO support
- Remove ABI versions from LIB_DEPENDS
- Fix configure command-line arguments
- Add patches to make sure it compiles with GCC 4.6+
- Add patch for compilation on FreeBSD/arm[1]
Mk/bsd.emacs.mk
- Update EMACS_VER for editors/emacs-devel
Submitted by: kientzle[1]
editors/emacs
- Update to v. 24.1[1]
- Update CANNA patch to v. 24.1[2]
- Convert OPTIONS to OptionsNG
- Remove patch to VC to make it work with Subversion 1.7
- Add patch to implement process support for FreeBSD from Emacs bug# 5243
- Add patch to fix segfault on Terminal (from NetBSD emacs port)[2]
editors/emacs23
- Convert OPTIONS to OptionsNG
- Bump PORTREVISION of editors/emacs23 port
- Remove PORTEPOCH, as port needs to be explicitly installed/upgraded
- Connect repocopied editors/emacs23 to build
editors/emacs-devel
- Update to bzr revision 109364
- Convert OPTIONS to OptionsNG
- Remove redundant patches
- Add patch to add openpty support for 10-CURRENT from Emacs bug# 12040[3]
Mk/bsd.emacs.mk
- Add EMACS_PORT_NAME block for Emacs 24 to bsd.emacs.mk
- Update major version for emacs-devel port
- Take maintainership of bsd.emacs.mk
Thanks to everyone who tested these updates, and provided their feedback.
Submitted by: http://www.gnu.org/software/emacs/NEWS.24.1[1]
Submitted by: Yuji TAKANO[2] (via private email), Jan Beich[3]
- Remove patches which are now in upstream[1]
- Add patch to implement process support for FreeBSD from Emacs bug# 5243[1]
PR: ports/161911[1]
Submitted by: Nali Toja <nalitoja@gmail.com>[1]
- Fix detection of 'make' program in use in configure script[1]
- Use openpty(3) instead of deprecated pty(4) interface[2]
- Add patch to interrupt `debug-on-quit' during loops[3]
- Track ncurses dependency[4]
PR: ports/160986[1], ports/161181[2], ports/161220[3], ports/161497[4]
Submitted by: h h <aakusta@gmail.com>[1], Nali Toja <nalitoja@gmail.com>[2][3][4]
- Update emacs.desktop to launch Emacs in Terminal when WITHOUT_X11 is defined.[1]
- Emacs picks up giflib if available instead of libungif. Account for
this.[2]
PR: ports/156167[1]
Submitted by: Zhihao Yuan <lichray@gmail.com>[1]
Herbert J. Skuhra <h.skuhra@gmail.com>[2] (via private email)
- Restore GTK2 option.
- Enable IMAGEMAGICK option by default.
- Add GNUTLS option.
- Fix the issue with bad plist generation and mention it in UPDATING.
- Include 'alloca' fix provided by swell.k@gmail.com [1].
PR: ports/149049[1]
Submitted by: swell.k@gmail.com[1]
Approved by: tabthorpe (mentor)
- Add the LICENSE information to the port.
- Fix building of port on 6.x/9.x with DBUS option enabled, provided
by swell.k@gmail.com.
- Remove unneeded dependencies on gettext and dbus-glib.
- Remove ALSA detection logic from configure script.
PR: ports/147546
Approved by: tabthorpe (mentor)