pkgsrc/editors/emacs26/hacks.mk
mef 76b74e27a4 editors/emacs26: import emacs26-26.1
GNU Emacs is an extensible, customizable editor textand more.  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-sensitive editing modes, including syntax coloring, for a
  wide variety of file types including plain text, source code, and
  HTML.
- Complete built-in documentation, including a tutorial for new users.
- Support for many languages and their scripts, including all scripts,
  Russian, Greek, Japanese, Chinese, Korean, Thai, Vietnamese, Lao,
  Ethiopian, and some Indian scripts.
- Highly customizable, using Emacs Lisp code or a graphical
  customization interface.
- A large number of extensions that add other functionality, including
  a project planner, mail and news reader, debugger interface,
  calendar, and more.  Many of these extensions are distributed with
  GNU Emacs; others are available separately.

This package contains Emacs version 26.
2018-06-20 11:04:19 +00:00

18 lines
442 B
Makefile

# $NetBSD: hacks.mk,v 1.1 2018/06/20 11:04:19 mef Exp $
.if !defined(EMACS_HACKS_MK)
EMACS_HACKS_MK= defined
.include "../../mk/compiler.mk"
### On NetBSD/amd64 7.99.26, gcc optimisation, at least for version 5.x,
### produces, a "temacs" binary which segfaults.
###
.if !empty(MACHINE_PLATFORM:MNetBSD-*)
. if !empty(CC_VERSION:Mgcc-5.*)
PKG_HACKS+= optimisation
CFLAGS+= -fno-optimize-strlen
. endif
.endif
.endif # EMACS_HACKS_MK