[pacman-dev] Patch for FS#31557
Allan McRae
allan at archlinux.org
Wed Jul 10 20:31:35 EDT 2013
On 11/07/13 09:26, Allan McRae wrote:
> On 11/07/13 06:46, Ashley Whetter wrote:
>> 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
>
> Why merge these at all? This should work:
>
> resolve_deps ${makedepends[@]} ${checkdepends[@]} || deperr=1
@Dave: should those calls to resolve_deps be quoted? Given a pkgname
can theoretically have whitespace.
Allan
More information about the pacman-dev
mailing list