summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars')
-rw-r--r--vars/build.vars3
-rw-r--r--vars/emacs.vars13
2 files changed, 15 insertions, 1 deletions
diff --git a/vars/build.vars b/vars/build.vars
index 26626c45..0aabfbe7 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -1172,7 +1172,8 @@ tzdb vim xcowsay xeyes xorriso xterm xwd";
: ${PKG_EMACS_SHA256SUM:=1cf4fc240cd77c25309d15e18593789c8dbfba5c2b44d8f77c886542300fd32c};
: ${PKG_EMACS_VERSION:=26.1};
: ${PKG_EMACS_URL:=http://www.gutscheinrausch.de/mirror/gnu/emacs/emacs-${PKG_EMACS_VERSION}.tar.xz};
-: ${PKG_EMACS_DISABLED:=1};
+: ${PKG_EMACS_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2 -O1 -g2"};
+: ${PKG_EMACS_CONFIGURE_ARGS_EXTRA:="--with-modules --with-sound=no --with-x-toolkit=no --without-dbus"};
: ${PKG_EMACS_ENV_VARS_EXTRA:="BUILDCC=gcc"};
: ${PKG_FETCHMAIL_SHA256SUM:=c7500bed3b0bb85722f7cf2d980e74a879ac57b13cfd225d278179d671c0f5e8};
: ${PKG_FETCHMAIL_VERSION:=6.4.0.beta4};
diff --git a/vars/emacs.vars b/vars/emacs.vars
new file mode 100644
index 00000000..ce6857fd
--- /dev/null
+++ b/vars/emacs.vars
@@ -0,0 +1,13 @@
+#
+# set -o errexit -o noglob are assumed.
+#
+
+: ${PKG_EMACS_CONFIG_CACHE_EXTRA:="
+ac_cv_func_mmap_fixed_mapped=yes
+gl_cv_func_fdopendir_works=yes
+gl_cv_func_lstat_dereferences_slashed_symlink=yes
+gl_cv_func_readlink_works=yes
+gl_cv_func_working_mktime=yes
+gl_cv_func_working_utimes=yes"};
+
+# vim:filetype=sh