]> git.pld-linux.org Git - packages/poldek.git/blame - poldek-static.patch
- force switch to db4.2 and rpm built with it, release 16
[packages/poldek.git] / poldek-static.patch
CommitLineData
c12681e0
AF
1--- poldek-0.18.1/configure.in.wiget Wed Nov 27 19:56:09 2002
2+++ poldek-0.18.1/configure.in Thu Mar 6 20:11:53 2003
3@@ -264,11 +264,11 @@
4 fi
5
6
7-AC_CHECK_LIB(rpm, rpmReadPackageInfo,[LIBS="$LIBS -lrpm $DBLIB"],
8+AC_CHECK_LIB(rpm, rpmReadPackageInfo,[LIBS="-lrpm $DBLIB $LIBS"],
9 AC_CHECK_LIB(rpm, rpmReadPackageHeader,
10- [LIBS="$LIBS -lrpm -lrpmdb $DBLIB"],
11+ [LIBS="-lrpm -lrpmdb $DBLIB $LIBS"],
12 AC_CHECK_LIB(rpm, rpmReadPackageFile,
13- [LIBS="$LIBS -lrpm -lrpmdb $DBLIB"
14+ [LIBS="-lrpm -lrpmdb -lelf $DBLIB $LIBS"
15 AC_DEFINE([HAVE_RPM_4_1],1,[])],
16 AC_MSG_ERROR(["rpmlib not found"]),
17 [$DBLIB -lrpmdb]),
18@@ -298,7 +298,7 @@
19
20 AC_CHECK_FUNCS(openpty,,
21 AC_CHECK_LIB(util, openpty,
22- [AC_DEFINE([HAVE_OPENPTY],1,[defined if openpty() is avialable])] [LIBS="$LIBS -lutil"]))
23+ [AC_DEFINE([HAVE_OPENPTY],1,[defined if openpty() is avialable])] [LIBS="-lutil $LIBS"]))
24
25 AC_CHECK_FUNCS(rpmGetRpmlibProvides,,
26 [AC_MSG_WARN("[poldek will not work fine with rpmlib\(...\) capabilities"])],
27@@ -318,7 +318,7 @@
28 AC_CHECK_LIB(trurl, n_hash_size,,
29 [AC_MSG_ERROR(["trurlib >= 0.43.5 not found"])], [$CONF_IN_LDFLAGS])
30 else
31- LIBS="$LIBS -ltrurl"
32+ LIBS="-ltrurl $LIBS"
33 AC_CONFIG_SUBDIRS(trurlib)
34 NARRAY="\"$srcdir/$TRURL_DIR/include/trurl/narray.h\""
35 fi
fe4521f8
MM
36--- poldek-0.18.1/configure.in Thu May 22 23:02:25 2003
37+++ poldek-0.18.1/configure.in-new Thu May 22 23:02:37 2003
38@@ -290,7 +290,7 @@
39 dnl 4.0.4 has cross dependenecies(?)
40 if test ${is_rpm4_0_4}. = yes. -a ${ENABLE_STATIC}. = yes. ; then
41- if ${have_beecrypt}. = yes. ; then
42+ if test ${have_beecrypt}. = yes. ; then
43- LIBS="$LIBS -lbz2 -lrpmio"
44+ LIBS="$LIBS -lbz2 -lrpmio -lbeecrypt -lpthread"
45 fi
46 LIBS="$LIBS -lbz2 -lrpmio"
47 fi
This page took 0.061414 seconds and 4 git commands to generate.