summaryrefslogtreecommitdiff
path: root/editors/xemacs-nox11
diff options
context:
space:
mode:
authorwiz <wiz>2016-12-30 23:37:40 +0000
committerwiz <wiz>2016-12-30 23:37:40 +0000
commitc3eccc73675d4669b1cffb5b8857f7e85628161d (patch)
tree808842ba1d0290da600a1ec432c9e019db1fc240 /editors/xemacs-nox11
parente11ae15d836aa8698579c2bdee03d493a0ee43ca (diff)
downloadpkgsrc-c3eccc73675d4669b1cffb5b8857f7e85628161d.tar.gz
Fix build of xemacs-*nox11 packages.
Using hints by coypu, thanks!
Diffstat (limited to 'editors/xemacs-nox11')
-rw-r--r--editors/xemacs-nox11/DESCR21
-rw-r--r--editors/xemacs-nox11/hacks.mk17
2 files changed, 38 insertions, 0 deletions
diff --git a/editors/xemacs-nox11/DESCR b/editors/xemacs-nox11/DESCR
new file mode 100644
index 00000000000..fa31dafbce0
--- /dev/null
+++ b/editors/xemacs-nox11/DESCR
@@ -0,0 +1,21 @@
+XEmacs is a self-documenting, customizable, extensible real-time
+display editor.
+
+Users new to XEmacs will be able to use basic features fairly rapidly
+by studying the tutorial and using the self-documentation features.
+XEmacs also has an extensive interactive manual browser. It is easily
+extensible since its editing commands are written in Lisp.
+
+XEmacs's many special packages handle mail reading (RMail) and sending
+(Mail), outline editing (Outline), compiling (Compile), running
+subshells within Emacs windows (Shell), running a Lisp read-eval-print
+loop (Lisp-Interaction-Mode), automated psychotherapy (Doctor :-) and
+many more. There is a WWW browsing mode written fully in elisp
+that looks and behaves much like the netscape WWW browser.
+
+XEmacs has similar functionality to GNU Emacs. It uses a different
+display model, including support for Motif menu and scroll bars and the
+ability to run as a widget inside other applications. Many people say
+it looks nicer than GNU Emacs.
+
+This package does not support X11.
diff --git a/editors/xemacs-nox11/hacks.mk b/editors/xemacs-nox11/hacks.mk
new file mode 100644
index 00000000000..7ff97e072fa
--- /dev/null
+++ b/editors/xemacs-nox11/hacks.mk
@@ -0,0 +1,17 @@
+# $NetBSD: hacks.mk,v 1.1 2016/12/30 23:37:40 wiz Exp $
+
+.if !defined(XEMACS_HACKS_MK)
+XEMACS_HACKS_MK= defined
+
+.include "../../mk/compiler.mk"
+
+### [Fri Oct 28 10:00:00 UTC 2016 : hauke]
+### gcc 5 builtins collide with src/gmalloc.c's calloc(), which
+### results in 'xemacs -vanilla' busy-looping during the build.
+###
+.if !empty(PKGSRC_COMPILER:Mgcc) && !empty(CC_VERSION:Mgcc-5.[0-9]*)
+PKG_HACKS+= gcc5-malloc-builtin-conflict
+CFLAGS+= -fno-builtin
+.endif
+
+.endif # XEMACS_HACKS_MK