diff options
author | Francois Pons <fpons@mandriva.com> | 2001-07-25 15:12:11 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-07-25 15:12:11 +0000 |
commit | cd46034202709450b281ce101149dc6af8afaa44 (patch) | |
tree | e119276aaf0ec22d34cf9edaf1dc1d7cbeb60640 | |
parent | 5070f3f86e1897c43fb47007d9aebd55c68f5c9e (diff) | |
download | rpmtools-cd46034202709450b281ce101149dc6af8afaa44.tar rpmtools-cd46034202709450b281ce101149dc6af8afaa44.tar.gz rpmtools-cd46034202709450b281ce101149dc6af8afaa44.tar.bz2 rpmtools-cd46034202709450b281ce101149dc6af8afaa44.tar.xz rpmtools-cd46034202709450b281ce101149dc6af8afaa44.zip |
avoid using version_compare.v8_1
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ FROMCC_STATIC = $(FROMCC:%=%_static) ALL = $(FROMC) $(FROMCC) ALL_STATIC = $(FROMC_STATIC) $(FROMCC_STATIC) CFLAGS = -Wall -g -LIBRPM = -lrpm -lrpmio `perl -e 'eval {require "./rpmtools.pm" }; rpmtools::version_compare(qx(rpm -q --qf %{VERSION} rpm), "4.0.3") >= 0 and print "-lrpmdb"'` -lz -lbz2 -I/usr/include/rpm -lpopt +LIBRPM = -lrpm -lrpmio `perl -e 'local $$_ = qx(rpm -q --qf %{VERSION} rpm); /^4\.0\s*$$/ or print "-lrpmdb"'` -lz -lbz2 -I/usr/include/rpm -lpopt LIBRPM_STATIC = all: $(ALL) |