Reenable execinfo on powerpc, backtrace() is usable since the ld.lld switch

From Brad, tests from cwen@ and gkoehler@
This commit is contained in:
jca 2021-08-29 07:28:05 +00:00
parent 404458437f
commit 91f13f7854

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.102 2021/08/29 07:24:50 jca Exp $
# $OpenBSD: Makefile,v 1.103 2021/08/29 07:28:05 jca Exp $
COMMENT= GNU editor: extensible, customizable, self-documenting
VERSION= 27.2
DISTNAME= emacs-${VERSION}
REVISION= 2
REVISION= 3
CATEGORIES= editors
@ -15,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
@ -100,13 +100,6 @@ ERRORS+= "Fatal: Conflicting flavor: ${FLAVOR}"
. endif
.endif
# backtrace() crashes at build time on powerpc
.if ${MACHINE_ARCH} == "powerpc"
CONFIGURE_ENV += ac_cv_header_execinfo_h=no
.else
WANTLIB += execinfo
.endif
post-install:
chmod -t ${PREFIX}/bin/emacs-${VERSION}
.if ${FLAVOR:Mno_x11}