From 575704d8ecdd42c2cf76c0079214b624c8f52590 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 6 May 2015 15:26:36 +0200 Subject: [PATCH] emacs/build: - configure with out libjpeg if OS is Linux --- scripts/Tools/emacs/build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/Tools/emacs/build b/scripts/Tools/emacs/build index 06f595c..32f3a9d 100755 --- a/scripts/Tools/emacs/build +++ b/scripts/Tools/emacs/build @@ -19,6 +19,11 @@ Darwin ) cp -rv "${MODULE_BUILDDIR}"/nextstep/Emacs.app "${PREFIX}" } ;; +Linux ) + # with 24.5 configure complains about missing libjpeg even it + # is installed! + configure_args='--with-jpeg=no' + ;; *) ;; esac @@ -32,7 +37,7 @@ function em.configure() { } function em.post_install() { - mkdir "${PREFIX}/bin" + mkdir -p "${PREFIX}/bin" cat > "${PREFIX}/bin/Emacs" <<\EOF #!/bin/bash