summaryrefslogtreecommitdiffstats
path: root/source/e/emacs/emacs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/e/emacs/emacs.SlackBuild')
-rwxr-xr-xsource/e/emacs/emacs.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/e/emacs/emacs.SlackBuild b/source/e/emacs/emacs.SlackBuild
index ebe3acd0d..9716a05d4 100755
--- a/source/e/emacs/emacs.SlackBuild
+++ b/source/e/emacs/emacs.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=emacs
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
# Determine version number the tarball is labeled with:
TARBALLVER=${TARBALLVER:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
# OK, now what's being used as the source directory version number... account
@@ -70,6 +70,9 @@ else
SLKCFLAGS="-O2"
fi
+# Without this, the emacs-no-x11 binary won't work with the installed files:
+PDUMPER=${PDUMPER:-"--with-pdumper=no --with-dumping=unexec"}
+
# Don't use icecream:
PATH=$(echo $PATH | sed "s|/usr/libexec/icecc/bin||g" | tr -s : | sed "s/^://g" | sed "s/:$//g")
@@ -113,6 +116,7 @@ CXXFLAGS="$SLKCFLAGS" \
--with-modules \
--with-x \
--with-x-toolkit=${X_TOOLKIT:-gtk3} \
+ $PDUMPER \
--build=${ARCH}-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
@@ -150,6 +154,7 @@ CXXFLAGS="$SLKCFLAGS" \
--without-gsettings \
--with-modules \
--with-x=no \
+ $PDUMPER \
--build=${ARCH}-slackware-linux || exit 1
make $NUMJOBS || make || exit 1