svn commit: r523801 - head/editors/emacs
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Jan 22 10:47:24 UTC 2020
Author: pkubaj
Date: Wed Jan 22 10:47:24 2020
New Revision: 523801
URL: https://svnweb.freebsd.org/changeset/ports/523801
Log:
editors/emacs: fix miscompilation on powerpc64 elfv2
Clang currently miscompiles emacs, resulting in broken builds for dependencies:
===> Building for treepy.el-emacs26-0.1.1_3
(cd /wrkdirs/usr/ports/devel/treepy.el/work-full/treepy.el-0.1.1 ; /usr/local/bin/emacs-26.3 -batch -q -f batch-byte-compile treepy.el)
*** Signal 6
Use GCC to workaround it.
PR: 243484
Approved by: jrm (maintainer)
Modified:
head/editors/emacs/Makefile
Modified: head/editors/emacs/Makefile
==============================================================================
--- head/editors/emacs/Makefile Wed Jan 22 10:15:02 2020 (r523800)
+++ head/editors/emacs/Makefile Wed Jan 22 10:47:24 2020 (r523801)
@@ -3,7 +3,7 @@
PORTNAME= emacs
DISTVERSION= 26.3
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 3
CATEGORIES= editors
MASTER_SITES= GNU
@@ -225,6 +225,10 @@ XWIDGETS_CONFIGURE_WITH= xwidgets
# has graphics/ImageMagick been compiled with OPENMP?
.if ${PORT_OPTIONS:MMAGICK} && ${:!${GREP} -sc " \-fopenmp " ${LOCALBASE}/libdata/pkgconfig/ImageMagick.pc || true!} == "1"
USES+= compiler:openmp
+.endif
+
+.if ${ARCH} == powerpc64
+USE_GCC= any
.endif
.if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} && !${PORT_OPTIONS:MMOTIF} \
More information about the svn-ports-head
mailing list