popt: Fixing pkgconfig file installation issue.

Install the pkgconfig files into $(libdir) instead of $(prefix)/lib/.

(From OE-Core rev: 2addeb2639b798934d12d2f959dcac5a4ac697c2)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Lianhao Lu 2012-04-27 14:34:20 +08:00 committed by Richard Purdie
parent 7670afc0ca
commit 3ed11d6178
2 changed files with 19 additions and 2 deletions

View File

@ -0,0 +1,15 @@
Upstream-Status: Pending
Install the pkgconfig file into libdir.
--- popt-1.16.orig/Makefile.am 2012-04-26 13:42:54.021139813 +0800
+++ popt-1.16/Makefile.am 2012-04-26 13:36:03.552096912 +0800
@@ -47,7 +47,7 @@
libpopt_la_SOURCES = popt.c poptparse.c poptconfig.c popthelp.c poptint.c
libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@ @LTLIBICONV@
-pkgconfigdir = $(prefix)/lib/pkgconfig
+pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = popt.pc
if HAVE_LD_VERSION_SCRIPT

View File

@ -4,9 +4,11 @@ SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=cb0613c30af2a8249b8dcc67d3edb06d"
PR = "r0"
PR = "r1"
SRC_URI = "http://rpm5.org/files/popt/popt-${PV}.tar.gz"
SRC_URI = "http://rpm5.org/files/popt/popt-${PV}.tar.gz \
file://pkgconfig_fix.patch \
"
SRC_URI[md5sum] = "3743beefa3dd6247a73f8f7a32c14c33"
SRC_URI[sha256sum] = "e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8"