summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-11-30 01:18:06 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-11-30 08:14:32 +0000
commitc98bfac0cb10543e3a80de204fcee9baa77c57b1 (patch)
tree36d9cc9aafeabf21da2a9a33b350bed45fb8d7df
parentaf4dc64bf2e47e5f0faebee505b29969b8235365 (diff)
downloadmidipix_build-c98bfac0cb10543e3a80de204fcee9baa77c57b1.tar.bz2
midipix_build-c98bfac0cb10543e3a80de204fcee9baa77c57b1.tar.xz
emacs-26.1: configured to build without X, without mailutils, without pop3. emacs-26.1: updated the build's local make-docfile recipe.
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
-rw-r--r--patches/emacs-26.1.local.patch12
-rw-r--r--vars/build.vars2
2 files changed, 10 insertions, 4 deletions
diff --git a/patches/emacs-26.1.local.patch b/patches/emacs-26.1.local.patch
index 3c244518..f4dd571a 100644
--- a/patches/emacs-26.1.local.patch
+++ b/patches/emacs-26.1.local.patch
@@ -97,12 +97,18 @@ Only in emacs-26.1/lib: .binary-io.h.swp
diff -ru emacs-26.1.orig/lib-src/Makefile.in emacs-26.1/lib-src/Makefile.in
--- emacs-26.1.orig/lib-src/Makefile.in 2018-04-23 16:17:42.000000000 +0200
+++ emacs-26.1/lib-src/Makefile.in 2018-11-28 19:25:21.901162314 +0100
-@@ -389,7 +389,7 @@
+@@ -388,8 +388,12 @@ profile${EXEEXT}: ${srcdir}/profile.c $(NTLIB) $(config_h)
+ $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< \
$(NTLIB) $(LOADLIBES) $(LIB_CLOCK_GETTIME) -o $@
- make-docfile${EXEEXT}: ${srcdir}/make-docfile.c $(NTLIB) $(config_h)
+-make-docfile${EXEEXT}: ${srcdir}/make-docfile.c $(NTLIB) $(config_h)
- $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< $(NTLIB) $(LOADLIBES) -o $@
-+ $(AM_V_CCLD)$(BUILDCC) ${ALL_CFLAGS} $< $(NTLIB) $(LOADLIBES) -o $@
++make-docfile${EXEEXT}: CFLAGS_FOR_BUILD += -std=gnu99
++make-docfile${EXEEXT}: CFLAGS_FOR_BUILD += -I../src
++make-docfile${EXEEXT}: CFLAGS_FOR_BUILD += -I${srcdir}/../src -I${srcdir}/../lib
++make-docfile${EXEEXT}: CFLAGS_FOR_BUILD += -D_BINARY_H -Dset_binary_mode\(x\,y\)
++make-docfile${EXEEXT}: ${srcdir}/make-docfile.c $(config_h)
++ $(AM_V_CCLD)$(BUILDCC) $< -o $@ $(CFLAGS_FOR_BUILD)
movemail${EXEEXT}: ${srcdir}/movemail.c pop.o $(NTLIB) $(config_h)
$(AM_V_CCLD)$(CC) ${ALL_CFLAGS} ${MOVE_FLAGS} $< pop.o \
diff --git a/vars/build.vars b/vars/build.vars
index 0aabfbe7..b26347d7 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -1173,7 +1173,7 @@ tzdb vim xcowsay xeyes xorriso xterm xwd";
: ${PKG_EMACS_VERSION:=26.1};
: ${PKG_EMACS_URL:=http://www.gutscheinrausch.de/mirror/gnu/emacs/emacs-${PKG_EMACS_VERSION}.tar.xz};
: ${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_CONFIGURE_ARGS_EXTRA:="--with-modules --with-sound=no --with-x-toolkit=no --without-dbus --without-x --without-mailutils --without-pop"};
: ${PKG_EMACS_ENV_VARS_EXTRA:="BUILDCC=gcc"};
: ${PKG_FETCHMAIL_SHA256SUM:=c7500bed3b0bb85722f7cf2d980e74a879ac57b13cfd225d278179d671c0f5e8};
: ${PKG_FETCHMAIL_VERSION:=6.4.0.beta4};