diff options
author | Francois Pons <fpons@mandriva.com> | 2001-06-20 15:10:11 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-06-20 15:10:11 +0000 |
commit | 9ea4cc9bae64e1f3b734aaf0ef679f26fb85ce80 (patch) | |
tree | 7faf38ba12a894d92c3f1891fbdda3f01babc85c | |
parent | 1fcd62b3d7bb3683e78d937ac0d6fbd04da8d06c (diff) | |
download | urpmi-9ea4cc9bae64e1f3b734aaf0ef679f26fb85ce80.tar urpmi-9ea4cc9bae64e1f3b734aaf0ef679f26fb85ce80.tar.gz urpmi-9ea4cc9bae64e1f3b734aaf0ef679f26fb85ce80.tar.bz2 urpmi-9ea4cc9bae64e1f3b734aaf0ef679f26fb85ce80.tar.xz urpmi-9ea4cc9bae64e1f3b734aaf0ef679f26fb85ce80.zip |
allow build on both 4.0 or 4.0.3+ rpm.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ URPMIDIR = $(PREFIX)/var/lib/urpmi URPMIDIR2 = $(PREFIX)/etc/urpmi LOCALEDIR = $(PREFIX)/usr/share/locale CFLAGS = -Wall -g -LIBRPM = -lrpm -lrpmio -lrpmdb -lz -lbz2 -I/usr/include/rpm -lpopt +LIBRPM = -lrpm -lrpmio `perl -e 'use rpmtools; rpmtools::version_compare(qx(rpm -q --qf %{VERSION} rpm), "4.0.3") >= 0 and print "-lrpmdb"'` -lz -lbz2 -I/usr/include/rpm -lpopt NAME = urpmi TAR = $(NAME).tar.bz2 |