summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-06-01 16:13:38 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-06-01 16:13:38 +0000
commit35de05e61b88c0808a5e885bb0efdf420555d5ad (patch)
tree8aaf9b79b53f76b843613033db529dd68f15381f /packages
parent939b94a7c1f235488f4a16bfe228cf016d7c2e1d (diff)
apmd: Use libtool --tag options to avoid problems with libtool 2.2.4 (from poky)
Diffstat (limited to 'packages')
-rw-r--r--packages/apmd/apmd-3.2.2/libtool.patch16
-rw-r--r--packages/apmd/apmd_3.2.2.bb3
2 files changed, 18 insertions, 1 deletions
diff --git a/packages/apmd/apmd-3.2.2/libtool.patch b/packages/apmd/apmd-3.2.2/libtool.patch
new file mode 100644
index 0000000000..bf8a373b63
--- /dev/null
+++ b/packages/apmd/apmd-3.2.2/libtool.patch
@@ -0,0 +1,16 @@
+Index: apmd-3.2.2.orig/Makefile
+===================================================================
+--- apmd-3.2.2.orig.orig/Makefile 2004-01-04 08:13:18.000000000 +0000
++++ apmd-3.2.2.orig/Makefile 2008-04-21 17:10:03.000000000 +0100
+@@ -58,9 +57,8 @@
+ #CFLAGS=-O3 -m486 -fomit-frame-pointer
+ #LDFLAGS=-s
+
+-LIBTOOL=libtool --quiet
+-LT_COMPILE = $(LIBTOOL) --mode=compile $(CC)
+-LT_LINK = $(LIBTOOL) --mode=link $(CC)
++LT_COMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC)
++LT_LINK = $(LIBTOOL) --tag=CC --mode=link $(CC)
+ LT_INSTALL = $(LIBTOOL) --mode=install install
+ LT_CLEAN = $(LIBTOOL) --mode=clean rm
+
diff --git a/packages/apmd/apmd_3.2.2.bb b/packages/apmd/apmd_3.2.2.bb
index 6e4d2b3bd1..503f830bd9 100644
--- a/packages/apmd/apmd_3.2.2.bb
+++ b/packages/apmd/apmd_3.2.2.bb
@@ -3,13 +3,14 @@ SECTION = "base"
PRIORITY = "required"
DEPENDS = "libtool-cross"
LICENSE = "GPL"
-PR = "r10"
+PR = "r11"
SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz \
file://debian.patch;patch=1 \
file://workaround.patch;patch=1 \
file://zaurus24.patch;patch=1 \
file://unlinux.patch;patch=1 \
+ file://libtool.patch;patch=1 \
file://init \
file://default \
file://apmd_proxy \