[pacman-dev] Patch for FS#31557

Ashley Whetter awhetter.2011 at my.bristol.ac.uk
Wed Jul 10 16:46:24 EDT 2013


Hey everyone,

I've made a fix for issue FS#31557 (Merge installing makedepends and
checkdepends).
I've attached the patch and pasted it below:

>From 447ba301bd9d24d3b60dd02d6382f64965ad7878 Mon Sep 17 00:00:00 2001
From: Ashley Whetter <awhetter.2011 at my.bristol.ac.uk>
Date: Wed, 10 Jul 2013 22:44:55 +0100
Subject: [PATCH] makedeps and checkdeps are now installed together

Fixes FS#31557

Signed-off-by: Ashley Whetter <awhetter.2011 at my.bristol.ac.uk>
---
 scripts/makepkg.sh.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 2a39157..4de0d34 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -2952,11 +2952,12 @@ else
  fi

  msg "$(gettext "Checking buildtime dependencies...")"
- resolve_deps ${makedepends[@]} || deperr=1
+ build_depends=("${makedepends[@]}")

  if (( CHECKFUNC )); then
- resolve_deps ${checkdepends[@]} || deperr=1
+ build_depends+=("${checkdepends[@]}")
  fi
+ resolve_deps ${build_depends[@]} || deperr=1

  if (( RMDEPS )); then
  current_pkglist=($(run_pacman -Qq))    # required by remove_deps
--
1.8.3.2


Regards,
Ashley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-makedeps-and-checkdeps-are-now-installed-together.patch
Type: application/octet-stream
Size: 993 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20130710/5de14fe3/attachment.obj>


More information about the pacman-dev mailing list