diff options
Diffstat (limited to 'packages/lvm2')
-rw-r--r-- | packages/lvm2/lvm2-2.01.15/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/lvm2/lvm2-2.01.15/crosscompile_fix.patch | 13 | ||||
-rw-r--r-- | packages/lvm2/lvm2_2.01.15.bb | 5 |
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" |