aboutsummaryrefslogtreecommitdiffstats
path: root/editors/emacs
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-01-22 18:47:24 +0800
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-01-22 18:47:24 +0800
commit43fb7e6e4cde0422028f68d7497e39fb38203c5d (patch)
treea5fd17c6d49dd1bc633f1982d9a312c69fc604e1 /editors/emacs
parent6dd44ae9cafa04876691e511ff3ab038cecfef45 (diff)
downloadfreebsd-ports-gnome-43fb7e6e4cde0422028f68d7497e39fb38203c5d.tar.gz
freebsd-ports-gnome-43fb7e6e4cde0422028f68d7497e39fb38203c5d.tar.zst
freebsd-ports-gnome-43fb7e6e4cde0422028f68d7497e39fb38203c5d.zip
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)
Diffstat (limited to 'editors/emacs')
-rw-r--r--editors/emacs/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index e1b8a0f7bd7c..b2225e6e270a 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -3,7 +3,7 @@
PORTNAME= emacs
DISTVERSION= 26.3
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 3
CATEGORIES= editors
MASTER_SITES= GNU
@@ -227,6 +227,10 @@ XWIDGETS_CONFIGURE_WITH= xwidgets
USES+= compiler:openmp
.endif
+.if ${ARCH} == powerpc64
+USE_GCC= any
+.endif
+
.if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} && !${PORT_OPTIONS:MMOTIF} \
&& !${PORT_OPTIONS:MXAW} && !${PORT_OPTIONS:MXAW3D}
CONFIGURE_ARGS+= --with-x-toolkit=no