summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-02-08 12:49:29 +0100
committerKoen Kooi <koen@openembedded.org>2009-02-08 12:49:29 +0100
commit938421a71ef3f11bdfeac4c17ab3fc4d17a5d049 (patch)
tree0c674f524787f5a231d40a7e523816810a733fb2
parentb1c63993ce2009c543d504a3f5e9ccaeef1a5951 (diff)
zziplib: fix build
-rw-r--r--packages/zziplib/zziplib.inc12
-rw-r--r--packages/zziplib/zziplib_0.13.49.bb2
2 files changed, 13 insertions, 1 deletions
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 \