summaryrefslogtreecommitdiff
path: root/packages/lvm2
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-03-26 14:23:38 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-03-26 14:23:38 +0000
commit0e86bf2856c18bcdc50966dc832351b4f3ff0b7d (patch)
tree8595564f6c6841a427d8979194d62a8427928a04 /packages/lvm2
parent9628e837b0a8b096abdaa737110e76b407806478 (diff)
lvm2: Add patch to remove -Llibdir from LDFLAGS
Diffstat (limited to 'packages/lvm2')
-rw-r--r--packages/lvm2/lvm2-2.01.15/.mtn2git_empty0
-rw-r--r--packages/lvm2/lvm2-2.01.15/crosscompile_fix.patch13
-rw-r--r--packages/lvm2/lvm2_2.01.15.bb5
3 files changed, 16 insertions, 2 deletions
diff --git a/packages/lvm2/lvm2-2.01.15/.mtn2git_empty b/packages/lvm2/lvm2-2.01.15/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/lvm2/lvm2-2.01.15/.mtn2git_empty
diff --git a/packages/lvm2/lvm2-2.01.15/crosscompile_fix.patch b/packages/lvm2/lvm2-2.01.15/crosscompile_fix.patch
new file mode 100644
index 0000000000..7f54f80072
--- /dev/null
+++ b/packages/lvm2/lvm2-2.01.15/crosscompile_fix.patch
@@ -0,0 +1,13 @@
+Index: LVM2.2.01.15/make.tmpl.in
+===================================================================
+--- LVM2.2.01.15.orig/make.tmpl.in 2008-03-26 11:24:50.000000000 +0000
++++ LVM2.2.01.15/make.tmpl.in 2008-03-26 11:25:02.000000000 +0000
+@@ -72,7 +72,7 @@
+ CFLAGS += -DINTL_PACKAGE=\"@INTL_PACKAGE@\" -DLOCALEDIR=\"@LOCALEDIR@\"
+ endif
+
+-LDFLAGS += -L$(top_srcdir)/lib -L$(libdir)
++LDFLAGS += -L$(top_srcdir)/lib
+
+ #CFLAGS += -DDEBUG_POOL
+ #CFLAGS += -DBOUNDS_CHECK
diff --git a/packages/lvm2/lvm2_2.01.15.bb b/packages/lvm2/lvm2_2.01.15.bb
index ee726f7e6b..61a18ab87e 100644
--- a/packages/lvm2/lvm2_2.01.15.bb
+++ b/packages/lvm2/lvm2_2.01.15.bb
@@ -1,12 +1,13 @@
SECTION = "utils"
DESCRIPTION = "LVM2 is a set of utilities to manage logical volumes in Linux."
LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
DEPENDS = "device-mapper"
S = "${WORKDIR}/LVM2.${PV}"
-SRC_URI = "ftp://sources.redhat.com/pub/lvm2/LVM2.${PV}.tgz"
+SRC_URI = "ftp://sources.redhat.com/pub/lvm2/LVM2.${PV}.tgz \
+ file://crosscompile_fix.patch;patch=1"
# Unset user/group to unbreak install.
EXTRA_OECONF = "--with-user= --with-group= --disable-o_direct"