pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/37293 misc/rpm fails to build under Linux



The problem arises again.
configure.in tries to detect libdl, but not libdl[234].

http://mova.org/~cheusov/pub/pkgsrc-distbb/Linux/current/logs/20091016.2105/misc_rpm_rpm-2.5.4nb6/stage_build.html

The following patch fixes the problem.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/misc/rpm/Makefile,v
retrieving revision 1.68
diff -u -r1.68 Makefile
--- Makefile    22 Sep 2009 13:16:00 -0000      1.68
+++ Makefile    24 Oct 2009 11:07:06 -0000
@@ -26,6 +26,7 @@
 
 # The rpm databases are kept under ${RPM_DB_PREFIX}/lib/rpm.
 CONFIGURE_ENV+=                varprefix=${RPM_DB_PREFIX:Q}
+LIBS+=                 ${BDB_LIBS:Q}
 
 MAKE_FLAGS+=           MANDIR=${PREFIX}/${PKGMANDIR}/man8
 MAKE_FLAGS+=           ROOT=${DESTDIR}


Reopen PR please.

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index