summaryrefslogtreecommitdiff
path: root/misc/rpm
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-02-09 11:57:20 +0000
committergrant <grant@pkgsrc.org>2004-02-09 11:57:20 +0000
commit77e0012ef496e6ea318b554023be715767076490 (patch)
tree184dd8dd942aec25209f4948a9069de816c4aafe /misc/rpm
parent13cc643cae29c021fec8a7241c8075e3732eb8b7 (diff)
downloadpkgsrc-77e0012ef496e6ea318b554023be715767076490.tar.gz
include db/buildlink2.mk for db185 support and pass
BUILDLINK_CPPFLAGS.db. fixes build on Linux.
Diffstat (limited to 'misc/rpm')
-rw-r--r--misc/rpm/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile
index 7dec5d719f7..013f1e19e22 100644
--- a/misc/rpm/Makefile
+++ b/misc/rpm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2004/01/24 14:11:10 grant Exp $
+# $NetBSD: Makefile,v 1.46 2004/02/09 11:57:20 grant Exp $
DISTNAME= rpm-2.5.4
PKGREVISION= 1
@@ -14,6 +14,7 @@ BUILD_USES_MSGFMT= yes
CONFLICTS+= rpm2cpio<1.0nb1
USE_BUILDLINK2= yes
+USE_DB185= yes
USE_PKGLOCALEDIR= yes
USE_GNU_TOOLS+= make
GNU_CONFIGURE= yes
@@ -25,6 +26,8 @@ INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
# The rpm databases are kept under ${RPM_DB_PREFIX}/lib/rpm.
CONFIGURE_ENV+= varprefix="${RPM_DB_PREFIX}"
+CFLAGS+= ${BUILDLINK_CPPFLAGS.db}
+
RPMDIR= ${RPM_DB_PREFIX}/lib/rpm
FILES_SUBST+= RPMDIR=${RPMDIR}
@@ -34,6 +37,7 @@ post-configure:
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/rpm
+.include "../../databases/db/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"