All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx
@ 2012-08-07 17:31 Yao Zhao
  2012-08-07 17:39 ` Derek Buitenhuis
  2012-08-07 18:17 ` Koen Kooi
  0 siblings, 2 replies; 16+ messages in thread
From: Yao Zhao @ 2012-08-07 17:31 UTC (permalink / raw)
  To: openembedded-core

In order to fix the QA Issue for libpam which installed to /lib but
reference /usr/libxx/libz and libcrack, install libz and libcrack
to /lib.

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
---
 meta/recipes-core/zlib/zlib_1.2.7.bb              |    8 ++++++--
 meta/recipes-extended/cracklib/cracklib_2.8.19.bb |    2 ++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/zlib/zlib_1.2.7.bb b/meta/recipes-core/zlib/zlib_1.2.7.bb
index 803fec3..d351437 100644
--- a/meta/recipes-core/zlib/zlib_1.2.7.bb
+++ b/meta/recipes-core/zlib/zlib_1.2.7.bb
@@ -13,7 +13,8 @@ SRC_URI[md5sum] = "2ab442d169156f34c379c968f3f482dd"
 SRC_URI[sha256sum] = "49e2e9658dfb036900da6ea0267a737fa3c4eee6666776d378c79d52e9334934"
 
 do_configure (){
-	./configure --prefix=${prefix} --shared --libdir=${libdir}
+	#sharedlibdir sets to {libdir} if not set
+	./configure --prefix=${prefix} --shared --libdir="${base_libdir}"
 }
 
 do_compile (){
@@ -21,7 +22,10 @@ do_compile (){
 }
 
 do_install() {
-	oe_runmake DESTDIR=${D} install
+	#libz.a installs to libdir, overwrite the env libdir
+	#install pkgconfig to env libdir/pkgconfig
+	oe_runmake DESTDIR=${D} pkgconfigdir="${libdir}/pkgconfig" \
+		   libdir="${base_libdir}" install
 }
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-extended/cracklib/cracklib_2.8.19.bb b/meta/recipes-extended/cracklib/cracklib_2.8.19.bb
index 2951396..aca6211 100644
--- a/meta/recipes-extended/cracklib/cracklib_2.8.19.bb
+++ b/meta/recipes-extended/cracklib/cracklib_2.8.19.bb
@@ -15,3 +15,5 @@ SRC_URI[md5sum] = "ca0ec168d9c6466612204e8dfb2df8a9"
 SRC_URI[sha256sum] = "7086b0ca23f875c9cd9ea2a993c262384b274dba9c4ea1da845ec8ac290748a9"
 
 inherit autotools gettext
+
+libdir = "${base_libdir}"
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-08-08 13:48 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-07 17:31 [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx Yao Zhao
2012-08-07 17:39 ` Derek Buitenhuis
2012-08-07 18:30   ` Yao Zhao
2012-08-07 18:30     ` Phil Blundell
2012-08-07 18:35       ` Yao Zhao
2012-08-07 18:38         ` Phil Blundell
2012-08-07 18:43           ` Yao Zhao
2012-08-07 18:45             ` Phil Blundell
2012-08-07 19:29               ` Yao Zhao
2012-08-07 21:20                 ` Phil Blundell
2012-08-08 13:24                   ` Yao Zhao
2012-08-08 13:25                     ` Phil Blundell
2012-08-08 13:36                       ` Yao Zhao
2012-08-07 18:35     ` Derek Buitenhuis
2012-08-08 13:26       ` Yao Zhao
2012-08-07 18:17 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.