Bug 3418 - Building claws-mail 3.11.1 on a Cross Compiling toolchain doesn't work: ${HOST}-pkg-config is not used
Summary: Building claws-mail 3.11.1 on a Cross Compiling toolchain doesn't work: ${HOS...
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.11.1
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2015-04-15 00:24 UTC by ridai.govinda
Modified: 2018-08-31 20:44 UTC (History)
0 users

See Also:


Attachments
pkg-config buildfix patch (974 bytes, patch)
2015-04-15 00:24 UTC, ridai.govinda
no flags Details | Diff

Description ridai.govinda 2015-04-15 00:24:00 UTC
Created attachment 1506 [details]
pkg-config buildfix patch

Using source based GNU/Linux distribution Exherbo (http://exherbo.org), installation procedure fails at configure phase, because ./configure.ac expects that even if gcc, ar and other toolchain programs are prefixed with ${HOST} pkg-config doesn't.

I've attached a patch for configure.ac that fixes it, and tested the build with success.
Comment 1 users 2018-08-31 20:44:04 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2018-08-31 20:44:04.180667872 +0200
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=23cb72b8086bedf2e0c16e195948842139cba308
Merge: 16a1113 09bc21b
Author: Colin Leroy <colin@colino.net>
Date:   Fri Aug 31 20:44:03 2018 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=09bc21b96f3bda637dcec73bb63c426c43a685bd
Author: Ricardo Mones <ricardo@mones.org>
Date:   Fri Aug 31 20:36:54 2018 +0200

    Fix bug #3418 ‘Building on a Cross Compiling toolchain doesn't work’
    
    The bug is really fixed in commit 8eee2fd5ddb9d24d8f58bf88afdea8ca67daaea5
    This only adds a slight modification of the remaining portion of the
    patch checking the macro itself, from the original attached to the bug
    by ridai.govinda@gmail.com.

Note You need to log in before you can comment on or make changes to this bug.