summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-21 16:37:56 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-21 16:37:56 +0000
commita6bc7ad2138cac169edca088c86bb91aec91210a (patch)
treeea18e126d53c33f055b9efe2ce4c07d6600e8a7a
parentefba2e53dfb64a3a1b202f75eb349f93471a8bc3 (diff)
downloadpoky-a6bc7ad2138cac169edca088c86bb91aec91210a.tar.gz
apmd: Improve libtool usage
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4296 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/apmd/apmd-3.2.2/libtool.patch16
-rw-r--r--meta/packages/apmd/apmd_3.2.2.bb3
2 files changed, 18 insertions, 1 deletions
diff --git a/meta/packages/apmd/apmd-3.2.2/libtool.patch b/meta/packages/apmd/apmd-3.2.2/libtool.patch
new file mode 100644
index 0000000000..bf8a373b63
--- /dev/null
+++ b/meta/packages/apmd/apmd-3.2.2/libtool.patch
@@ -0,0 +1,16 @@
1Index: apmd-3.2.2.orig/Makefile
2===================================================================
3--- apmd-3.2.2.orig.orig/Makefile 2004-01-04 08:13:18.000000000 +0000
4+++ apmd-3.2.2.orig/Makefile 2008-04-21 17:10:03.000000000 +0100
5@@ -58,9 +57,8 @@
6 #CFLAGS=-O3 -m486 -fomit-frame-pointer
7 #LDFLAGS=-s
8
9-LIBTOOL=libtool --quiet
10-LT_COMPILE = $(LIBTOOL) --mode=compile $(CC)
11-LT_LINK = $(LIBTOOL) --mode=link $(CC)
12+LT_COMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC)
13+LT_LINK = $(LIBTOOL) --tag=CC --mode=link $(CC)
14 LT_INSTALL = $(LIBTOOL) --mode=install install
15 LT_CLEAN = $(LIBTOOL) --mode=clean rm
16
diff --git a/meta/packages/apmd/apmd_3.2.2.bb b/meta/packages/apmd/apmd_3.2.2.bb
index 6e4d2b3bd1..503f830bd9 100644
--- a/meta/packages/apmd/apmd_3.2.2.bb
+++ b/meta/packages/apmd/apmd_3.2.2.bb
@@ -3,13 +3,14 @@ SECTION = "base"
3PRIORITY = "required" 3PRIORITY = "required"
4DEPENDS = "libtool-cross" 4DEPENDS = "libtool-cross"
5LICENSE = "GPL" 5LICENSE = "GPL"
6PR = "r10" 6PR = "r11"
7 7
8SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz \ 8SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz \
9 file://debian.patch;patch=1 \ 9 file://debian.patch;patch=1 \
10 file://workaround.patch;patch=1 \ 10 file://workaround.patch;patch=1 \
11 file://zaurus24.patch;patch=1 \ 11 file://zaurus24.patch;patch=1 \
12 file://unlinux.patch;patch=1 \ 12 file://unlinux.patch;patch=1 \
13 file://libtool.patch;patch=1 \
13 file://init \ 14 file://init \
14 file://default \ 15 file://default \
15 file://apmd_proxy \ 16 file://apmd_proxy \