From 138dd5d607dd00c77d940f94e13d53779fcd8e87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Wed, 18 Mar 2015 11:30:54 +0100 Subject: [PATCH] lilo: Enable parallel make --- srcpkgs/lilo/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template index 46de6997dc..0490669adc 100644 --- a/srcpkgs/lilo/template +++ b/srcpkgs/lilo/template @@ -1,7 +1,7 @@ # Template file for 'lilo' pkgname=lilo version=24.1 -revision=2 +revision=3 only_for_archs="i686 x86_64" hostmakedepends="bin86" makedepends="device-mapper-devel" @@ -15,15 +15,16 @@ distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=a15280edacb8bca31b9163d65e61270b8c06cb9ffea74374a3a42164a13d4532 pre_build() { - # Don't install images - sed '/images install/d' -i Makefile - sed '/images all/d' -i Makefile + sed -i Makefile src/Makefile \ + -e 's|^\tmake|\t$(MAKE)|g' \ + -e '/images install/d' \ + -e '/images all/d' } do_build() { # LILO needs LC_ALL=C export LC_ALL=C - make CC=${CC} all + make CC=${CC} ${makejobs} all } do_install() {