From 938421a71ef3f11bdfeac4c17ab3fc4d17a5d049 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sun, 8 Feb 2009 12:49:29 +0100 Subject: zziplib: fix build --- packages/zziplib/zziplib.inc | 12 +++++++++++- packages/zziplib/zziplib_0.13.49.bb | 2 ++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/zziplib/zziplib.inc b/packages/zziplib/zziplib.inc index 602eae6315..e0ef3f2e58 100644 --- a/packages/zziplib/zziplib.inc +++ b/packages/zziplib/zziplib.inc @@ -14,7 +14,17 @@ do_configure_append() { sed -i \ -e "s|tail -1|tail -n 1|" \ -e "s|dist dist-all dist-all:|dist dist-all:|" \ - Makefile + -e "s|docs||g" \ + Makefile mkdir ${S}/build } + + +do_compile_append() { +for i in ${S}/*/*.pc ; do + sed -i -e s:${STAGING_DIR_TARGET}::g \ + -e s:/${TARGET_SYS}::g \ + $i +done +} diff --git a/packages/zziplib/zziplib_0.13.49.bb b/packages/zziplib/zziplib_0.13.49.bb index 3a6c148dc5..f90e41f5a9 100644 --- a/packages/zziplib/zziplib_0.13.49.bb +++ b/packages/zziplib/zziplib_0.13.49.bb @@ -1,5 +1,7 @@ require zziplib.inc +PR = "r1" + SRC_URI += "\ file://zip_c.patch;patch=1 \ file://zziplib-autoconf.patch;patch=1 \ -- cgit v1.2.3