Enable libexecinfo usage

From Brad

Since emacs is mostly the executable itself and the lisp code, don't
expect useful backtraces in case of problems.  People should still
install the debug-emacs package and use egdb.

Fatal error 11: Segmentation fault
Backtrace:
0x13c54970bda <???> at emacs
0x13c5494f791 <???> at emacs
0x13c5497184e <???> at emacs
0x13c549718d2 <???> at emacs
0x13c549706e9 <???> at emacs
Segmentation fault (core dumped)
This commit is contained in:
jca 2021-06-12 23:17:50 +00:00
parent cde2ef73bf
commit f86ae6bf48

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.98 2021/04/04 23:43:25 jca Exp $
# $OpenBSD: Makefile,v 1.99 2021/06/12 23:17:50 jca Exp $
COMMENT= GNU editor: extensible, customizable, self-documenting
VERSION= 27.2
DISTNAME= emacs-${VERSION}
REVISION= 0
CATEGORIES= editors
@ -14,7 +15,7 @@ MAINTAINER= Jeremie Courreges-Anglas <jca@wxcvbn.org>
# GPLv3+
PERMIT_PACKAGE= Yes
WANTLIB = c curses jansson gmp gnutls m pthread xml2 z
WANTLIB = c curses execinfo jansson gmp gnutls m pthread xml2 z
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
EXTRACT_SUFX= .tar.xz
@ -32,8 +33,7 @@ CONFIGURE_ARGS= --build="${GCCARCH}" \
--without-sound
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}" \
ac_cv_header_execinfo_h=no
LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
MAKE_ENV= INSTALL_EMACS="${INSTALL_SCRIPT}" \
LOGNAME="${SHAREOWN}"