From 14f2b65bb11d57690515bbd532d4e94f8d901a6d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 20 Aug 2008 07:27:38 +0000 Subject: rpm: Patch out some Makefile strangeness causing build failures git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5085 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/rpm/files/cross_libpaths.patch | 33 ++++++++++++++++++---------- meta/packages/rpm/rpm_4.4.2.3.bb | 2 +- 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/meta/packages/rpm/files/cross_libpaths.patch b/meta/packages/rpm/files/cross_libpaths.patch index 8cc34f2a74..4fed9b751a 100644 --- a/meta/packages/rpm/files/cross_libpaths.patch +++ b/meta/packages/rpm/files/cross_libpaths.patch @@ -1,7 +1,7 @@ Index: rpm-4.4.2.3/configure.ac =================================================================== ---- rpm-4.4.2.3.orig/configure.ac 2008-08-17 11:40:29.000000000 +0100 -+++ rpm-4.4.2.3/configure.ac 2008-08-17 11:40:29.000000000 +0100 +--- rpm-4.4.2.3.orig/configure.ac 2008-08-18 10:25:14.000000000 +0100 ++++ rpm-4.4.2.3/configure.ac 2008-08-18 10:25:14.000000000 +0100 @@ -326,10 +326,8 @@ localdone= @@ -43,7 +43,7 @@ Index: rpm-4.4.2.3/configure.ac Index: rpm-4.4.2.3/rpmio/Makefile.am =================================================================== --- rpm-4.4.2.3.orig/rpmio/Makefile.am 2008-04-01 08:28:22.000000000 +0100 -+++ rpm-4.4.2.3/rpmio/Makefile.am 2008-08-17 11:40:29.000000000 +0100 ++++ rpm-4.4.2.3/rpmio/Makefile.am 2008-08-18 10:25:14.000000000 +0100 @@ -26,8 +26,6 @@ BEECRYPTLOBJS = $(shell test X"@WITH_BEECRYPT_SUBDIR@" != X && cat $(top_builddir)/@WITH_BEECTYPT_SUBDIR@/listobjs) @@ -56,7 +56,7 @@ Index: rpm-4.4.2.3/rpmio/Makefile.am Index: rpm-4.4.2.3/rpmio/rpmio_internal.h =================================================================== --- rpm-4.4.2.3.orig/rpmio/rpmio_internal.h 2008-04-01 08:28:22.000000000 +0100 -+++ rpm-4.4.2.3/rpmio/rpmio_internal.h 2008-08-17 11:40:29.000000000 +0100 ++++ rpm-4.4.2.3/rpmio/rpmio_internal.h 2008-08-18 10:25:14.000000000 +0100 @@ -12,22 +12,22 @@ #if HAVE_BEECRYPT_API_H #include @@ -92,8 +92,8 @@ Index: rpm-4.4.2.3/rpmio/rpmio_internal.h #include Index: rpm-4.4.2.3/Makefile.am =================================================================== ---- rpm-4.4.2.3.orig/Makefile.am 2008-08-17 11:42:36.000000000 +0100 -+++ rpm-4.4.2.3/Makefile.am 2008-08-17 11:42:50.000000000 +0100 +--- rpm-4.4.2.3.orig/Makefile.am 2008-04-01 08:28:21.000000000 +0100 ++++ rpm-4.4.2.3/Makefile.am 2008-08-20 08:26:44.000000000 +0100 @@ -10,7 +10,7 @@ po/*.in po/*.po po/rpm.pot \ rpm.magic rpmpopt-$(VERSION) rpmqv.c @@ -103,10 +103,19 @@ Index: rpm-4.4.2.3/Makefile.am INCLUDES = \ -I$(top_srcdir)/build \ +@@ -93,7 +93,7 @@ + rpm2cpio_LDFLAGS = $(myLDFLAGS) + rpm2cpio_LDADD = $(myLDADD) @LIBMISC@ + +-$(PROGRAMS): $(myLDADD) @WITH_APIDOCS_TARGET@ ++$(PROGRAMS): @WITH_APIDOCS_TARGET@ + + .PHONY: splint + splint: Index: rpm-4.4.2.3/rpmdb/Makefile.am =================================================================== ---- rpm-4.4.2.3.orig/rpmdb/Makefile.am 2008-08-17 11:43:36.000000000 +0100 -+++ rpm-4.4.2.3/rpmdb/Makefile.am 2008-08-17 11:43:57.000000000 +0100 +--- rpm-4.4.2.3.orig/rpmdb/Makefile.am 2008-04-01 08:28:22.000000000 +0100 ++++ rpm-4.4.2.3/rpmdb/Makefile.am 2008-08-18 10:25:14.000000000 +0100 @@ -41,9 +41,6 @@ # XXX watchout, ../db3/libdb.la created by this Makefile may surprise libdb_la = $(top_builddir)/$(WITH_DB_SUBDIR)/libdb.la @@ -119,8 +128,8 @@ Index: rpm-4.4.2.3/rpmdb/Makefile.am librpmdb_la_SOURCES = \ Index: rpm-4.4.2.3/lib/Makefile.am =================================================================== ---- rpm-4.4.2.3.orig/lib/Makefile.am 2008-08-17 11:46:43.000000000 +0100 -+++ rpm-4.4.2.3/lib/Makefile.am 2008-08-17 11:46:51.000000000 +0100 +--- rpm-4.4.2.3.orig/lib/Makefile.am 2008-04-01 08:28:22.000000000 +0100 ++++ rpm-4.4.2.3/lib/Makefile.am 2008-08-18 10:25:14.000000000 +0100 @@ -29,8 +29,6 @@ mylibs = librpm.la LIBS = @@ -132,8 +141,8 @@ Index: rpm-4.4.2.3/lib/Makefile.am librpm_la_SOURCES = \ Index: rpm-4.4.2.3/build/Makefile.am =================================================================== ---- rpm-4.4.2.3.orig/build/Makefile.am 2008-08-17 11:47:37.000000000 +0100 -+++ rpm-4.4.2.3/build/Makefile.am 2008-08-17 11:47:43.000000000 +0100 +--- rpm-4.4.2.3.orig/build/Makefile.am 2008-04-01 08:28:21.000000000 +0100 ++++ rpm-4.4.2.3/build/Makefile.am 2008-08-18 10:25:14.000000000 +0100 @@ -22,8 +22,6 @@ pkginc_HEADERS = rpmbuild.h rpmfc.h rpmfile.h rpmspec.h noinst_HEADERS = buildio.h diff --git a/meta/packages/rpm/rpm_4.4.2.3.bb b/meta/packages/rpm/rpm_4.4.2.3.bb index b04b500b86..a568ea8c0e 100644 --- a/meta/packages/rpm/rpm_4.4.2.3.bb +++ b/meta/packages/rpm/rpm_4.4.2.3.bb @@ -2,7 +2,7 @@ DESCRIPTION = "The RPM Package Manager." HOMEPAGE = "http://rpm.org/" LICENSE = "LGPL GPL" DEPENDS = "zlib beecrypt file popt" -PR = "r1" +PR = "r2" SRC_URI = "http://www.rpm.org/releases/rpm-4.4.x/rpm-4.4.2.3.tar.gz \ file://external-tools.patch;patch=1 \ -- cgit v1.2.3