]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-system_libs-more.patch
- ugly gcc hack not needed.
[packages/rpm.git] / rpm-system_libs-more.patch
1 diff -urN rpm-4.3.org/Makefile.am rpm-4.3/Makefile.am
2 --- rpm-4.3.org/Makefile.am     2003-12-28 01:33:43.917858224 +0100
3 +++ rpm-4.3/Makefile.am 2003-12-28 02:01:02.060822640 +0100
4 @@ -14,7 +14,7 @@
5         po/*.in po/*.po po/rpm.pot \
6         rpm.magic rpmpopt-$(VERSION) rpmqv.c rpm.c
7  
8 -SUBDIRS = intl po @WITH_ZLIB_SUBDIR@ @WITH_ELFUTILS_SUBDIR@ file @WITH_DB_SUBDIR@ @WITH_BEECRYPT_SUBDIR@ lua rpmio rpmdb lib build misc @WITH_PYTHON_SUBDIR@ tools scripts tests doc .
9 +SUBDIRS = intl po @WITH_ZLIB_SUBDIR@ @WITH_ELFUTILS_SUBDIR@ file @WITH_BEECRYPT_SUBDIR@ lua rpmio rpmdb lib build misc @WITH_PYTHON_SUBDIR@ tools scripts tests doc .
10  
11  INCLUDES = \
12         -I$(top_srcdir)/build \
13 diff -urN rpm-4.3.org/rpmdb/Makefile.am rpm-4.3/rpmdb/Makefile.am
14 --- rpm-4.3.org/rpmdb/Makefile.am       2003-12-28 01:33:46.160517288 +0100
15 +++ rpm-4.3/rpmdb/Makefile.am   2003-12-28 01:56:22.000000000 +0100
16 @@ -25,17 +25,13 @@
17  noinst_HEADERS = fprint.h header_internal.h legacy.h
18  
19  pkgbindir = @RPMCONFIGDIR@
20 -pkgbin_PROGRAMS = \
21 -       rpmdb_archive rpmdb_checkpoint rpmdb_deadlock rpmdb_dump rpmdb_load \
22 -       rpmdb_printlog rpmdb_recover rpmdb_svc rpmdb_stat rpmdb_upgrade \
23 -       rpmdb_verify 
24  
25  mylibs = librpmdb.la
26  
27  LIBS =
28  
29  # XXX watchout, ../db3/libdb.la created by this Makefile may surprise
30 -libdb_la = $(top_builddir)/$(WITH_DB_SUBDIR)/libdb.la
31 +libdb_la = 
32  
33  # XXX grrr, RPM_BUILD_ROOT prevents build pollution if/when -lrpm different
34  LDFLAGS = -L$(RPM_BUILD_ROOT)$(usrlibdir) -L$(DESTDIR)$(usrlibdir)
35 @@ -52,7 +49,7 @@
36         $(top_builddir)/rpmio/librpmio.la \
37         @WITH_POPT_LIB@ \
38         @WITH_LIBELF_LIB@
39 -librpmdb_la_LIBADD = $(DBLIBOBJS) $(libdb_la)
40 +librpmdb_la_LIBADD = $(DBLIBOBJS) $(libdb_la) -ldb
41  librpmdb_la_DEPENDENCIES = $(DBLIBOBJS) $(libdb_la)
42  
43  # XXX make sure that db.h symlink is generated
This page took 0.108606 seconds and 3 git commands to generate.