summaryrefslogtreecommitdiff
path: root/misc/rpm
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2009-12-07 04:06:02 +0000
committerdholland <dholland@pkgsrc.org>2009-12-07 04:06:02 +0000
commitc8bf20cdc4645311bc145c02d01e4ff20dfc8e9c (patch)
tree7ce5ecd7324ed9ef9aa7d5cef73709ea585d7c8b /misc/rpm
parent4483f32cfecc97db9be6814b6664e3b73027d10b (diff)
downloadpkgsrc-c8bf20cdc4645311bc145c02d01e4ff20dfc8e9c.tar.gz
Give a little help finding db185 libs for configs/machines where db185
isn't in libc, such as Linux or with BDB_DEFAULT=db4 BDB185_DEFAULT=db4. From Aleksey Cheusov in PR 37293.
Diffstat (limited to 'misc/rpm')
-rw-r--r--misc/rpm/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile
index 263d5e72289..a063cd88296 100644
--- a/misc/rpm/Makefile
+++ b/misc/rpm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2009/09/22 13:16:00 sketch Exp $
+# $NetBSD: Makefile,v 1.69 2009/12/07 04:06:02 dholland Exp $
DISTNAME= rpm-2.5.4
PKGREVISION= 6
@@ -27,6 +27,9 @@ CONFIGURE_ARGS+= --datadir=${PREFIX}/${PKGLOCALEDIR}
# The rpm databases are kept under ${RPM_DB_PREFIX}/lib/rpm.
CONFIGURE_ENV+= varprefix=${RPM_DB_PREFIX:Q}
+# Needs help finding bdb.
+LIBS+= ${BDB_LIBS:Q}
+
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man8
MAKE_FLAGS+= ROOT=${DESTDIR}