Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: fontconfig-2.8.0/fix_pkgconfig.patch
Date: Mon, 15 Aug 2011 21:03:15 +0100	[thread overview]
Message-ID: <1313438595.14274.607.camel@rex> (raw)
In-Reply-To: <1313426936.6733.192.camel@phil-desktop>

On Mon, 2011-08-15 at 17:48 +0100, Phil Blundell wrote:
> Does anybody know where this patch came from or what it is supposed to
> be achieving?  As far as I have been able to tell with some limited git
> archaeology, it seems to have originated from Poky in the
> fontconfig-2.6.0 sort of timeframe but that's about all I have been able
> to find out.
> 
> The actual content of the patch is:
> 
> -Libs.private: @LIBXML2_LIBS@ @EXPAT_LIBS@ @FREETYPE_LIBS@ @ICONV_LIBS@
> +Libs.private: @LIBXML2_LIBS@ @EXPAT_LIBS@ -L{libdir} -lfreetype @ICONV_LIBS@
> 
> ... which, as far as I can tell, is just completely bogus.  The added
> "-L{libdir}" is causing cmake to blow up if it tries to inspect the
> private libs for fontconfig to anything that depends on it: it's
> arguably a bug in cmake that it can't tolerate {} there, but it seems
> fairly clear that this patch in its current form can't be producing any
> useful effect.

The 2.6.0-2.8.0 upgrade seems to have lost the $ character but that was
a year ago.

I have some vague memory about autotools doing something nasty to @bar@
replacements containing shell variables like ${libdir} so this could
have been to work around that as otherwise you end up with libdir
hardcoded in to the file in an expanded form.

Assuming autotools does put something sensible into the file, it can
likely be dropped now.

Cheers,

Richard






      parent reply	other threads:[~2011-08-15 20:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 16:48 fontconfig-2.8.0/fix_pkgconfig.patch Phil Blundell
2011-08-15 19:58 ` fontconfig-2.8.0/fix_pkgconfig.patch Khem Raj
2011-08-15 20:03 ` Richard Purdie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1313438595.14274.607.camel@rex \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox