From f86ae6bf48b2bb266d86f318746c8ea097fc501c Mon Sep 17 00:00:00 2001 From: jca Date: Sat, 12 Jun 2021 23:17:50 +0000 Subject: [PATCH] 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) --- editors/emacs/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile index c0cb6da2588..8cacb4536e9 100644 --- a/editors/emacs/Makefile +++ b/editors/emacs/Makefile @@ -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 # 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}"