pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/rpm include db/buildlink2.mk for db185 support an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/650344b1b9d0
branches:  trunk
changeset: 467998:650344b1b9d0
user:      grant <grant%pkgsrc.org@localhost>
date:      Mon Feb 09 11:57:20 2004 +0000

description:
include db/buildlink2.mk for db185 support and pass
BUILDLINK_CPPFLAGS.db.

fixes build on Linux.

diffstat:

 misc/rpm/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 42d4858ab272 -r 650344b1b9d0 misc/rpm/Makefile
--- a/misc/rpm/Makefile Mon Feb 09 11:56:32 2004 +0000
+++ b/misc/rpm/Makefile Mon Feb 09 11:57:20 2004 +0000
@@ -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 @@
 CONFLICTS+=            rpm2cpio<1.0nb1
 
 USE_BUILDLINK2=                yes
+USE_DB185=             yes
 USE_PKGLOCALEDIR=      yes
 USE_GNU_TOOLS+=                make
 GNU_CONFIGURE=         yes
@@ -25,6 +26,8 @@
 # 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 @@
 pre-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/include/rpm
 
+.include "../../databases/db/buildlink2.mk"
 .include "../../devel/gettext-lib/buildlink2.mk"
 .include "../../devel/zlib/buildlink2.mk"
 



Home | Main Index | Thread Index | Old Index