]> git.pld-linux.org Git - packages/emacs.git/commitdiff
- use bash where required
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 25 Dec 2016 17:36:06 +0000 (18:36 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 25 Dec 2016 17:36:06 +0000 (18:36 +0100)
bashizm.patch [new file with mode: 0644]
emacs.spec

diff --git a/bashizm.patch b/bashizm.patch
new file mode 100644 (file)
index 0000000..ed1edf0
--- /dev/null
@@ -0,0 +1,8 @@
+--- emacs-25.1/build-aux/make-info-dir.orig    2016-06-29 11:49:16.000000000 +0200
++++ emacs-25.1/build-aux/make-info-dir 2016-12-25 17:58:48.556470701 +0100
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ ### make-info-dir - create info/dir, for systems without install-info
index 2e06519bc49a9f594e153630409fff157afef6d9..4f16234061fb06d06e181d3a4d00ceab2493cb48 100644 (file)
@@ -35,6 +35,7 @@ Source7:      %{name}-gtk.desktop
 Source8:       %{name}-motif.desktop
 Source9:       %{name}-nox.desktop
 Patch0:                imagemagick7.patch
+Patch1:                bashizm.patch
 URL:           http://www.gnu.org/software/emacs/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -370,6 +371,7 @@ exit 1
 
 %setup -q -n %{name}-%{ver}
 %patch0 -p1
+%patch1 -p1
 
 %build
 cp -f /usr/share/automake/config.* .
@@ -394,7 +396,7 @@ mkdir build-athena && cd build-athena
        --with-x-toolkit=athena \
        %{?with_bootstrap:--without-gpm}
 
-%{__make} -j1 bootstrap
+%{__make} -j1 V=1 bootstrap
 %define        bootstrap athena
 cd ..
 %endif
@@ -415,9 +417,9 @@ mkdir build-gtk && cd build-gtk
        %{?with_bootstrap:--without-gpm}
 
 %if %{?bootstrap}
-%{__make}
+%{__make} V=1
 %else
-%{__make} -j1 bootstrap
+%{__make} -j1 V=1 bootstrap
 %define        bootstrap gtk
 %endif
 cd ..
@@ -439,9 +441,9 @@ mkdir build-motif && cd build-motif
        %{?with_bootstrap:--without-gpm}
 
 %if %{?bootstrap}
-%{__make}
+%{__make} V=1
 %else
-%{__make} -j1 bootstrap
+%{__make} -j1 V=1 bootstrap
 %define        bootstrap motif
 %endif
 cd ..
@@ -463,9 +465,9 @@ mkdir build-nox && cd build-nox
        %{?with_bootstrap:--without-gpm}
 
 %if %{?bootstrap}
-%{__make}
+%{__make} V=1
 %else
-%{__make} -j1 bootstrap
+%{__make} -j1 V=1 bootstrap
 %define        bootstrap nox
 %endif
 cd ..
This page took 0.07575 seconds and 4 git commands to generate.